public class TemplatesHandlerImpl extends ReceivingContentHandler implements javax.xml.transform.sax.TemplatesHandler
ReceivingContentHandler.LocalLocator| Modifier | Constructor and Description |
|---|---|
protected |
TemplatesHandlerImpl(Processor processor)
Create a TemplatesHandlerImpl and initialise variables.
|
| Modifier and Type | Method and 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, 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, unparsedEntityDeclprotected TemplatesHandlerImpl(Processor processor)
processor - the Saxon s9api processorpublic javax.xml.transform.Templates getTemplates()
getTemplates in interface javax.xml.transform.sax.TemplatesHandlerpublic void setSystemId(java.lang.String url)
setSystemId in interface javax.xml.transform.sax.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(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.ContentHandlersetDocumentLocator in class ReceivingContentHandlerpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.sax.TemplatesHandlerCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.