| Modifier and Type | Field and Description |
|---|---|
| pack-priv CatalogFeatures | |
| private int | _indentNumber
Number of spaces to add for output indentation. |
| private Parser | _parser
A reference to XSLTC's parser object. |
| private String | _systemId
System ID for this stylesheet. |
| private TemplatesImpl | _templates
The created Templates object. |
| private TransformerFactoryImpl | _tfactory
A reference to the transformer factory that this templates object belongs to. |
| private URIResolver | _uriResolver
This URIResolver is passed to all Transformers. |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| protected | TemplatesHandlerImpl(int indentNumber, TransformerFactoryImpl tfactory, boolean hasUserErrListener)
Default constructor |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(char[] ch, int start, int length)
Implements org. Just forward SAX2 event to parser object. |
| public void | endDocument()
Implements org. Just forward SAX2 event to parser object. |
| public void | endElement(String uri, String localname, String qname)
Implements org. Just forward SAX2 event to parser object. |
| public void | endPrefixMapping(String prefix)
Implements org. Just forward SAX2 event to parser object. |
| public String | Returns: The systemID that was set with setSystemId(String id)Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.getSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved. |
| public Templates | Returns: The Templates object that was created during the SAX event process, or null if no Templates object has been created.Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.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. |
| public void | ignorableWhitespace(char[] ch, int start, int length)
Implements org. Just forward SAX2 event to parser object. |
| public InputSource | Returns: An InputSource with the loaded documentThe URI of the document to load href, String The URI of the currently loaded document context, XSLTC The compiler that resuests the document xsltc)Implements com. This method implements XSLTC's SourceLoader interface. |
| public void | processingInstruction(String name, String value)
Implements org. Just forward SAX2 event to parser object. |
| public void | setDocumentLocator(Locator locator)
Implements org. Set internal system Id and forward SAX2 event to parser object. |
| public void | setSystemId(String
Base URI for this stylesheet id)Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.setSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved. |
| public void | |
| public void | skippedEntity(String name)
Implements org. Just forward SAX2 event to parser object. |
| public void | startDocument()
Implements org. Re-initialize parser and forward SAX2 event. |
| public void | startElement(String uri, String localname, String qname, Attributes attributes)
Implements org. Just forward SAX2 event to parser object. |
| public void | startPrefixMapping(String prefix, String uri)
Implements org. Just forward SAX2 event to parser object. |
| _catalogFeatures | back to summary |
|---|---|
| pack-priv CatalogFeatures _catalogFeatures | |
| _indentNumber | back to summary |
|---|---|
| private int _indentNumber Number of spaces to add for output indentation. | |
| _parser | back to summary |
|---|---|
| private Parser _parser A reference to XSLTC's parser object. | |
| _systemId | back to summary |
|---|---|
| private String _systemId System ID for this stylesheet. | |
| _templates | back to summary |
|---|---|
| private TemplatesImpl _templates The created Templates object. | |
| _tfactory | back to summary |
|---|---|
| private TransformerFactoryImpl _tfactory A reference to the transformer factory that this templates object belongs to. | |
| _uriResolver | back to summary |
|---|---|
| private URIResolver _uriResolver This URIResolver is passed to all Transformers. | |
| _useCatalog | back to summary |
|---|---|
| pack-priv boolean _useCatalog | |
| TemplatesHandlerImpl | back to summary |
|---|---|
| protected TemplatesHandlerImpl(int indentNumber, TransformerFactoryImpl tfactory, boolean hasUserErrListener) Default constructor | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) Implements org. Just forward SAX2 event to parser object. | |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws SAXException Implements org. Just forward SAX2 event to parser object.
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localname, String qname) Implements org. Just forward SAX2 event to parser object. | |
| endPrefixMapping | back to summary |
|---|---|
| public void endPrefixMapping(String prefix) Implements org. Just forward SAX2 event to parser object. | |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.getSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
| |
| getTemplates | back to summary |
|---|---|
| public Templates getTemplates() Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.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.
| |
| ignorableWhitespace | back to summary |
|---|---|
| public void ignorableWhitespace(char[] ch, int start, int length) Implements org. Just forward SAX2 event to parser object. | |
| loadSource | back to summary |
|---|---|
| public InputSource loadSource(String href, String context, XSLTC xsltc) Implements com. This method implements XSLTC's SourceLoader interface. It is used to glue a TrAX URIResolver to the XSLTC compiler's Input and Import classes.
| |
| processingInstruction | back to summary |
|---|---|
| public void processingInstruction(String name, String value) Implements org. Just forward SAX2 event to parser object. | |
| setDocumentLocator | back to summary |
|---|---|
| public void setDocumentLocator(Locator locator) Implements org. Set internal system Id and forward SAX2 event to parser object. | |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String id) Implements javax. Implements javax.xml.transform.sax.TemplatesHandler.setSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
| |
| setURIResolver | back to summary |
|---|---|
| public void setURIResolver(URIResolver resolver) Store URIResolver needed for Transformers. | |
| skippedEntity | back to summary |
|---|---|
| public void skippedEntity(String name) Implements org. Just forward SAX2 event to parser object. | |
| startDocument | back to summary |
|---|---|
| public void startDocument() Implements org. Re-initialize parser and forward SAX2 event. | |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localname, String qname, Attributes attributes) throws SAXException Implements org. Just forward SAX2 event to parser object.
| |
| startPrefixMapping | back to summary |
|---|---|
| public void startPrefixMapping(String prefix, String uri) Implements org. Just forward SAX2 event to parser object. | |