public class TransformerReceiver extends ProxyReceiver
| Modifier and Type | Field and Description |
|---|---|
(package private) Builder |
builder |
(package private) Controller |
controller |
(package private) Result |
result |
nextReceiverpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
TransformerReceiver(Controller 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
|
Result |
getResult()
Get the output destination of the transformation
|
Transformer |
getTransformer()
Get the Transformer used for this transformation
|
void |
open()
Start of event stream
|
void |
setResult(Result result)
Set the output destination of the transformation
|
void |
setSystemId(String systemId)
Set the SystemId of the document
|
append, attribute, characters, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setPipelineConfiguration, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotationsappend, getPipelineConfiguration, getSystemIdController controller
Builder builder
Result result
public TransformerReceiver(Controller controller)
public void open()
throws XPathException
open in interface Receiveropen in class ProxyReceiverXPathExceptionpublic Transformer getTransformer()
public void setSystemId(String systemId)
setSystemId in interface ResultsetSystemId in interface ReceiversetSystemId in class ProxyReceiversystemId - the URI used to identify the tree being passed across this interfacepublic void setResult(Result result)
public Result getResult()
public void close()
throws XPathException
close in interface Receiverclose in class ProxyReceiverXPathException