public abstract class SequenceReceiver extends java.lang.Object implements Receiver
Modifier and Type | Field and Description |
---|---|
protected PipelineConfiguration |
pipelineConfiguration |
protected boolean |
previousAtomic |
protected java.lang.String |
systemId |
Constructor and Description |
---|
SequenceReceiver()
Create a SequenceReceiver
|
Modifier and Type | Method and Description |
---|---|
abstract void |
append(Item item,
int locationId,
int copyNamespaces)
Append an arbitrary item (node or atomic value) to the output
|
Configuration |
getConfiguration()
Get the Saxon Configuration
|
NamePool |
getNamePool()
Get the name pool
|
PipelineConfiguration |
getPipelineConfiguration()
Get the pipeline configuration
|
java.lang.String |
getSystemId()
Get the system ID
|
void |
open()
Start the output process
|
void |
setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
Set the pipeline configuration
|
void |
setSystemId(java.lang.String systemId)
Set the system ID
|
void |
setUnparsedEntity(java.lang.String name,
java.lang.String systemID,
java.lang.String publicID)
Notify an unparsed entity URI.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, characters, close, comment, endDocument, endElement, namespace, processingInstruction, startContent, startDocument, startElement
protected boolean previousAtomic
protected PipelineConfiguration pipelineConfiguration
protected java.lang.String systemId
public PipelineConfiguration getPipelineConfiguration()
Receiver
getPipelineConfiguration
in interface Receiver
public void setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
Receiver
setPipelineConfiguration
in interface Receiver
pipelineConfiguration
- the pipeline configurationpublic Configuration getConfiguration()
public void setSystemId(java.lang.String systemId)
setSystemId
in interface javax.xml.transform.Result
setSystemId
in interface Receiver
systemId
- the URI used to identify the tree being passed across this interfacepublic java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.Result
public void setUnparsedEntity(java.lang.String name, java.lang.String systemID, java.lang.String publicID) throws XPathException
setUnparsedEntity
in interface Receiver
name
- The name of the unparsed entitysystemID
- The system identifier of the unparsed entitypublicID
- The public identifier of the unparsed entityXPathException
public void open() throws XPathException
open
in interface Receiver
XPathException
public abstract void append(Item item, int locationId, int copyNamespaces) throws XPathException
item
- the item to be appendedlocationId
- the location of the calling instruction, for diagnosticscopyNamespaces
- if the item is an element node, this indicates whether its namespaces
need to be copied. Values are NodeInfo.ALL_NAMESPACES
,
NodeInfo.LOCAL_NAMESPACES
, NodeInfo.NO_NAMESPACES
XPathException
public NamePool getNamePool()