com.icl.saxon
Class TemplatesHandlerImpl
- ContentHandler, DTDHandler, LexicalHandler, TemplatesHandler
public class TemplatesHandlerImpl
implements TemplatesHandler
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.
String | getSystemId() - Get the systemId of the document
|
Templates | getTemplates() - Get the Templates object to used for a transformation
|
void | setSystemId(String url) - Set the SystemId of the document
|
characters , comment , endCDATA , endDTD , endDocument , endElement , endEntity , endPrefixMapping , ignorableWhitespace , notationDecl , processingInstruction , setDocumentLocator , setEmitter , setNamePool , skippedEntity , startCDATA , startDTD , startDocument , startElement , startEntity , startPrefixMapping , unparsedEntityDecl |
TemplatesHandlerImpl
protected TemplatesHandlerImpl(TransformerFactoryImpl factory)
Create a TemplatesHandlerImpl and initialise variables. The constructor is protected, because
the Filter should be created using newTemplatesHandler() in the SAXTransformerFactory
class
getSystemId
public String getSystemId()
Get the systemId of the document
getTemplates
public Templates getTemplates()
Get the Templates object to used for a transformation
setSystemId
public void setSystemId(String url)
Set the SystemId of the document