net.sf.saxon.event
Class SequenceReceiver
java.lang.Object
net.sf.saxon.event.SequenceReceiver
- Receiver, Result
public abstract class SequenceReceiver
extends java.lang.Object
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.
previousAtomic
protected boolean previousAtomic
systemId
protected String systemId
SequenceReceiver
public SequenceReceiver()
Create a SequenceReceiver
append
public abstract void append(Item item,
int locationId,
int copyNamespaces)
throws XPathException
Append an arbitrary item (node or atomic value) to the output
getConfiguration
public Configuration getConfiguration()
Get the Saxon Configuration
getNamePool
public NamePool getNamePool()
Get the name pool
- the Name Pool that was supplied using the setConfiguration() method
getSystemId
public String getSystemId()
Get the system ID
- the system ID that was supplied using the setSystemId() method
setSystemId
public void setSystemId(String systemId)
Set the system ID
- setSystemId in interface Receiver
systemId
- the URI used to identify the tree being passed across this interface
setUnparsedEntity
public void setUnparsedEntity(String name,
String systemID,
String publicID)
throws XPathException
Notify an unparsed entity URI.
- setUnparsedEntity in interface Receiver
name
- The name of the unparsed entitysystemID
- The system identifier of the unparsed entitypublicID
- The public identifier of the unparsed entity