public class TemplatesHandlerImpl extends ReceivingContentHandler implements TemplatesHandler
| Modifier | Constructor and Description |
|---|---|
protected |
TemplatesHandlerImpl(Configuration config)
Create a TemplatesHandlerImpl and initialise variables.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSystemId()
Get the systemId of the document
|
Templates |
getTemplates()
Get the Templates object to be used for a transformation
|
void |
setDocumentLocator(Locator locator)
Callback interface for SAX: not for application use
|
void |
setSystemId(String url)
Set the SystemId of the document.
|
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, getConfiguration, getPipelineConfiguration, getReceiver, ignorableWhitespace, isIgnoringIgnorableWhitespace, notationDecl, processingInstruction, reset, setIgnoreIgnorableWhitespace, setPipelineConfiguration, setReceiver, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDeclclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMappingprotected TemplatesHandlerImpl(Configuration config)
config - the Saxon configurationpublic Templates getTemplates()
getTemplates in interface TemplatesHandlerpublic void setSystemId(String url)
setSystemId in interface TemplatesHandlerurl - 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(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class ReceivingContentHandlerpublic String getSystemId()
getSystemId in interface TemplatesHandler