javax.xml.transform.sax.TemplatesHandler
, org.xml.sax.ContentHandler
public class TemplatesHandlerImpl extends ReceivingContentHandler implements javax.xml.transform.sax.TemplatesHandler
Modifier | Constructor | Description |
---|---|---|
protected |
TemplatesHandlerImpl(Configuration config) |
Create a TemplatesHandlerImpl and initialise variables.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSystemId() |
Get the systemId of the document
|
javax.xml.transform.Templates |
getTemplates() |
Get the Templates object to be used for a transformation
|
void |
setDocumentLocator(org.xml.sax.Locator locator) |
Callback interface for SAX: not for application use
|
void |
setSystemId(java.lang.String url) |
Set the SystemId of the document.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, getConfiguration, getPipelineConfiguration, ignorableWhitespace, isIgnoringIgnorableWhitespace, notationDecl, processingInstruction, reset, setIgnoreIgnorableWhitespace, setPipelineConfiguration, setReceiver, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDecl
protected TemplatesHandlerImpl(Configuration config)
config
- the Saxon configurationpublic javax.xml.transform.Templates getTemplates()
getTemplates
in interface javax.xml.transform.sax.TemplatesHandler
public void setSystemId(java.lang.String url)
setSystemId
in interface javax.xml.transform.sax.TemplatesHandler
url
- the system ID (base URI) of the stylesheet document, which will be used in any error
reporting and also for resolving relative URIs in xsl:include and xsl:import. It will also form
the static base URI in the static context of XPath expressions.public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class ReceivingContentHandler
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.sax.TemplatesHandler