|
|||||||
| 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 | |
|---|---|
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. |
| Methods inherited from class net.sf.saxon.event.ReceivingContentHandler |
|---|
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 |
| 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 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.TemplatesHandler
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||