|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.event.ReceivingContentHandler
net.sf.saxon.TemplatesHandlerImpl
public class TemplatesHandlerImpl
TemplatesHandlerImpl implements the javax.xml.transform.sax.TemplatesHandler interface. It acts as a ContentHandler which receives a stream of SAX events representing a stylesheet, and returns a Templates object that represents the compiled form of this stylesheet.
| Constructor Summary | |
|---|---|
protected |
TemplatesHandlerImpl(Configuration config)
Create a TemplatesHandlerImpl and initialise variables. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.saxon.event.ReceivingContentHandler |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping |
| Constructor Detail |
|---|
protected TemplatesHandlerImpl(Configuration config)
config - the Saxon configuration| Method Detail |
|---|
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||