Package net.sf.saxon.event
Class SequenceReceiver
java.lang.Object
net.sf.saxon.event.SequenceReceiver
- Direct Known Subclasses:
ComplexContentOutputter
,ProxyReceiver
,SequenceWrapper
,SequenceWriter
,TeeOutputter
,TreeReceiver
SequenceReceiver: this extension of the Receiver interface is used when processing
a sequence constructor. It differs from the Receiver in allowing items (atomic values or
nodes) to be added to the sequence, not just tree-building events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PipelineConfiguration
protected boolean
protected String
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Output an item (atomic value or node) to the sequenceGet the name poolGet the pipeline configurationGet the system IDvoid
open()
Start the output processvoid
setPipelineConfiguration
(PipelineConfiguration pipelineConfiguration) Set the pipeline configurationvoid
setSystemId
(String systemId) Set the system IDvoid
setUnparsedEntity
(String name, String systemId, String publicId) Notify an unparsed entity URI.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.saxon.event.Receiver
attribute, characters, close, comment, endDocument, endElement, namespace, processingInstruction, startContent, startDocument, startElement
-
Field Details
-
previousAtomic
protected boolean previousAtomic -
pipelineConfiguration
-
systemId
-
-
Constructor Details
-
SequenceReceiver
public SequenceReceiver()
-
-
Method Details
-
getPipelineConfiguration
Description copied from interface:Receiver
Get the pipeline configuration- Specified by:
getPipelineConfiguration
in interfaceReceiver
-
setPipelineConfiguration
Description copied from interface:Receiver
Set the pipeline configuration- Specified by:
setPipelineConfiguration
in interfaceReceiver
-
getConfiguration
-
setSystemId
Set the system ID- Specified by:
setSystemId
in interfaceReceiver
- Specified by:
setSystemId
in interfaceResult
- Parameters:
systemId
- the URI used to identify the tree being passed across this interface
-
getSystemId
Get the system ID- Specified by:
getSystemId
in interfaceResult
- Returns:
- the system ID that was supplied using the setSystemId() method
-
setUnparsedEntity
Description copied from interface:Receiver
Notify an unparsed entity URI.- Specified by:
setUnparsedEntity
in interfaceReceiver
- Parameters:
name
- The name of the unparsed entitysystemId
- The system identifier of the unparsed entitypublicId
- The public identifier of the unparsed entity- Throws:
XPathException
-
open
Start the output process- Specified by:
open
in interfaceReceiver
- Throws:
XPathException
-
append
Output an item (atomic value or node) to the sequence- Throws:
XPathException
-
getNamePool
Get the name pool- Returns:
- the Name Pool that was supplied using the setConfiguration() method
-