org.exolab.adaptx.jaxp.transform.sax
Class TemplatesHandlerImpl
java.lang.Object
org.exolab.adaptx.util.ErrorObserverAdapter
org.exolab.adaptx.xslt.util.StylesheetHandler
org.exolab.adaptx.jaxp.transform.sax.TemplatesHandlerImpl
- All Implemented Interfaces:
- javax.xml.transform.sax.TemplatesHandler, ErrorObserver, org.xml.sax.ContentHandler, org.xml.sax.DocumentHandler
public class TemplatesHandlerImpl
- extends StylesheetHandler
- implements javax.xml.transform.sax.TemplatesHandler
An implemenation of the JAXP TemplatesHandler interface
see javax.xml.transform.sax.TemplatesHandler
for more information
- Version:
- $Revision: 3827 $ $Date: 2003-09-09 00:40:54 -0400 (Tue, 09 Sep 2003) $
- Author:
- Keith Visco
Method Summary |
java.lang.String |
getSystemId()
Get the base ID (URI or system ID) from where relative
URLs will be resolved. |
javax.xml.transform.Templates |
getTemplates()
When a TemplatesHandler object is used as a ContentHandler or DocumentHandler
for the parsing of transformation instructions, it creates a Templates object,
which the caller can get once the SAX events have been completed. |
void |
setSystemId(java.lang.String systemId)
Set the base ID (URI or system ID) for the Templates object
created by this builder. |
Methods inherited from class org.exolab.adaptx.xslt.util.StylesheetHandler |
characters, endDocument, endElement, endElement, endPrefixMapping, getStylesheet, ignorableWhitespace, processingInstruction, setDocumentLocator, setURILocation, setURIResolver, skippedEntity, startDocument, startElement, startElement, startPrefixMapping |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
TemplatesHandlerImpl
public TemplatesHandlerImpl()
- Creates a new TemplatesHandlerImpl
getTemplates
public javax.xml.transform.Templates getTemplates()
- When a TemplatesHandler object is used as a ContentHandler or DocumentHandler
for the parsing of transformation instructions, it creates a Templates object,
which the caller can get once the SAX events have been completed.
- Specified by:
getTemplates
in interface javax.xml.transform.sax.TemplatesHandler
- Returns:
- The Templates object that was created during
the SAX event process, or null if no Templates object has
been created.
setSystemId
public void setSystemId(java.lang.String systemId)
- Set the base ID (URI or system ID) for the Templates object
created by this builder. This must be set in order to
resolve relative URIs in the stylesheet. This must be
called before the startDocument event.
- Specified by:
setSystemId
in interface javax.xml.transform.sax.TemplatesHandler
- Parameters:
baseID
- Base URI for this stylesheet.
getSystemId
public java.lang.String getSystemId()
- Get the base ID (URI or system ID) from where relative
URLs will be resolved.
- Specified by:
getSystemId
in interface javax.xml.transform.sax.TemplatesHandler
- Returns:
- The systemID that was set with
setSystemId(java.lang.String)
.