public class TransformerReceiver extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
TransformerReceiver(XsltController controller)
Create a TransformerReceiver and initialise variables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Override the behaviour of close() in ProxyReceiver, so that it fires off
the transformation of the constructed document
|
Controller |
getController()
Get the Controller used for this transformation
|
Receiver |
getDestination()
Get the output destination of the transformation
|
void |
open()
Start of event stream
|
void |
setDestination(Receiver destination)
Set the output destination of the transformation.
|
void |
setSystemId(java.lang.String systemId)
Set the SystemId of the document
|
append, attribute, characters, comment, endDocument, endElement, getNamePool, getNextReceiver, namespace, processingInstruction, setPipelineConfiguration, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotationsappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendpublic TransformerReceiver(XsltController controller)
controller - the Controllerpublic void open()
throws XPathException
open in interface Receiveropen in class ProxyReceiverXPathException - if an error occurspublic Controller getController()
public void setSystemId(java.lang.String systemId)
setSystemId in interface javax.xml.transform.ResultsetSystemId in interface ReceiversetSystemId in class ProxyReceiversystemId - the URI used to identify the tree being passed across this interfacepublic void setDestination(Receiver destination)
destination - the destination to which the transformation output will be writtenpublic Receiver getDestination()
public void close()
throws XPathException
close in interface Receiverclose in class ProxyReceiverXPathException - if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.