| java.lang.Object net.sf.saxon.event.ReceivingContentHandler net.sf.saxon.TransformerHandlerImpl
TransformerHandlerImpl | public class TransformerHandlerImpl extends ReceivingContentHandler implements TransformerHandler(Code) | | TransformerHandlerImpl 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 a transformation treating this
SAX stream as the source document of the transformation.
author: Michael H. Kay |
TransformerHandlerImpl | protected TransformerHandlerImpl(Controller controller)(Code) | | Create a TransformerHandlerImpl and initialise variables. The constructor is protected, because
the Filter should be created using newTransformerHandler() in the SAXTransformerFactory
class
|
endDocument | public void endDocument() throws SAXException(Code) | | Override the behaviour of endDocument() in ReceivingContentHandler, so that it fires off
the transformation of the constructed document
|
getResult | public Result getResult()(Code) | | Get the output destination of the transformation
|
getSystemId | public String getSystemId()(Code) | | Get the systemId of the document
|
getTransformer | public Transformer getTransformer()(Code) | | Get the Transformer used for this transformation
|
setResult | public void setResult(Result result)(Code) | | Set the output destination of the transformation
|
setSystemId | public void setSystemId(String url)(Code) | | Set the SystemId of the document
|
startDocument | public void startDocument() throws SAXException(Code) | | Start of a new document. The TransformerHandler is not serially reusable, so this method
must only be called once.
throws: SAXException - only if an overriding subclass throws this exception throws: UnsupportedOperationException - if an attempt is made to reuse the TransformerHandler by callingstartDocument() more than once. |
Methods inherited from net.sf.saxon.event.ReceivingContentHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localname, String rawname) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public int getColumnNumber()(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public int getLineNumber()(Code)(Java Doc) public int getLineNumber(int locationId)(Code)(Java Doc) public PipelineConfiguration getPipelineConfiguration()(Code)(Java Doc) public String getPublicId()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public String getSystemId(int locationId)(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public boolean isIgnoringIgnorableWhitespace()(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String name, String remainder) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void setIgnoreIgnorableWhitespace(boolean ignore)(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration pipe)(Code)(Java Doc) public void setReceiver(Receiver e)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localname, String rawname, Attributes atts) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc)
|
|
|