Package net.sf.saxon.event
Class ProxyReceiverWithExpandedStreamResult
java.lang.Object
net.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
net.sf.saxon.event.ProxyReceiverWithExpandedStreamResult
A ProxyReceiver that passes all events through unchanged, but which holds information about
the final destination of a serialization pipeline.
-
Field Summary
FieldsFields inherited from class net.sf.saxon.event.ProxyReceiver
nextReceiverFields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemIdFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
ConstructorsConstructorDescriptionProxyReceiverWithExpandedStreamResult(Receiver nextReceiver, ExpandedStreamResult expandedResult) Create a ProxyReceiverWithExpandedStreamResult that passes everything unchanged to the next receiver, but captures information about the final result destination -
Method Summary
Methods inherited from class net.sf.saxon.event.ProxyReceiver
append, characters, close, comment, endDocument, endElement, getNamePool, getNextReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, startElement, usesTypeAnnotationsMethods inherited from class net.sf.saxon.event.SequenceReceiver
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppend
-
Field Details
-
expandedResult
-
-
Constructor Details
-
ProxyReceiverWithExpandedStreamResult
public ProxyReceiverWithExpandedStreamResult(Receiver nextReceiver, ExpandedStreamResult expandedResult) Create a ProxyReceiverWithExpandedStreamResult that passes everything unchanged to the next receiver, but captures information about the final result destination- Parameters:
nextReceiver- the next receiver in the serialization pipelineexpandedResult- the final destination of the pipeline
-
-
Method Details
-
eliminate
Drop an unnecessaryProxyReceiverWithExpandedStreamResultfrom the pipeline- Parameters:
receiver- a receiver- Returns:
- the supplied receiver unless it is a
ProxyReceiverWithExpandedStreamResult, in which case the next receiver in the pipeline
-