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, unparsedEntityDecl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping
protected TemplatesHandlerImpl(Configuration config)
config
- the Saxon configurationpublic Templates getTemplates()
getTemplates
in interface TemplatesHandler
public void setSystemId(String url)
setSystemId
in interface 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(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class ReceivingContentHandler
public String getSystemId()
getSystemId
in interface TemplatesHandler
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.