com.icl.saxon
Class IdentityTransformerHandler
public
class
IdentityTransformerHandler
extends ContentEmitter
implements TransformerHandler
IdentityTransformerHandler implements the javax.xml.transform.sax.TransformerHandler
interface. It acts as a ContentHandler and LexicalHandler which receives a stream of
SAX events representing an input document, and performs an identity transformation passing
these events to a Result
Author: Michael H. Kay
Method Summary |
void | endDocument()
Override the behaviour of endDocument() in ContentEmitter |
Result | getResult()
Get the output destination of the transformation |
String | getSystemId()
Get the systemId of the document |
Transformer | getTransformer()
Get the Transformer used for this transformation |
void | setResult(Result result)
Set the output destination of the transformation |
void | setSystemId(String url)
Set the SystemId of the document |
void | startDocument()
Override the behaviour of startDocument() in ContentEmitter |
Result result
String systemId
protected IdentityTransformerHandler(
Controller controller)
Create a IdentityTransformerHandler and initialise variables. The constructor is protected, because
the Filter should be created using newTransformerHandler() in the SAXTransformerFactory
class
public void endDocument()
Override the behaviour of endDocument() in ContentEmitter
public Result getResult()
Get the output destination of the transformation
public String getSystemId()
Get the systemId of the document
public Transformer getTransformer()
Get the Transformer used for this transformation
public void setResult(Result result)
Set the output destination of the transformation
public void setSystemId(String url)
Set the SystemId of the document
public void startDocument()
Override the behaviour of startDocument() in ContentEmitter