com.jclark.xsl.trax
class TemplatesHandlerImpl extends XMLFilterImpl implements TemplatesHandler
javax.xml.transform.sax.TemplatesHandler
.
Collects SAX events representing an XSLT stylesheet, and provides
access to an object representing the "compiled" sheet
Constructor Summary | |
---|---|
protected | TemplatesHandlerImpl(TransformerFactoryImpl factory, XMLProcessor sheetModelBuilder)
construct with a reference to the factory, and a processor
which can construct an object model from the SAX events
representing the stylesheet |
Method Summary | |
---|---|
void | endDocument()
end of stylesheet SAX events, compile it |
String | getSystemId()
qets the base URI associated with the stylesheet |
Templates | getTemplates()
When a TemplatesHandler object is used as a ContentHandler 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(String systemId)
sets the base URI we want to associate with the stylesheet |
void | startDocument()
SAX implementation: recieve notification of start of parse,
redirect all subsequent SAX events to our embedded object model
builder |