| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.TransformerReceiver
TransformerReceiver | public class TransformerReceiver extends ProxyReceiver (Code) | | TransformerReceiver is similar in concept to the JAXP TransformerHandler,
except that it implements Saxon's Receiver interface rather than the standard
SAX2 interface. This means that it allows nodes with type annotations to be
passed down a pipeline from one transformation to another.
|
TransformerReceiver | public TransformerReceiver(Controller controller)(Code) | | Create a TransformerHandlerImpl and initialise variables.
|
close | public void close() throws XPathException(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
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | Notify the start of an element
Parameters: nameCode - integer code identifying the name of the element within the name pool. Parameters: typeCode - integer code identifying the element's type within the name pool. Parameters: properties - bit-significant properties of the element node. |
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|