public abstract class SequenceReceiver extends Object implements Receiver
| Modifier and Type | Field and Description |
|---|---|
protected PipelineConfiguration |
pipelineConfiguration |
protected boolean |
previousAtomic |
protected String |
systemId |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
SequenceReceiver(PipelineConfiguration pipe)
Create a SequenceReceiver
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(Item item)
Append an item (node or atomic value) to the output
|
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
|
String |
getSystemId()
Get the system ID
|
void |
open()
Start the output process
|
void |
setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
Set the pipeline configuration
|
void |
setSystemId(String systemId)
Set the system ID
|
void |
setUnparsedEntity(String name,
String systemID,
String publicID)
Notify an unparsed entity URI.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattribute, characters, close, comment, endDocument, endElement, namespace, processingInstruction, startContent, startDocument, startElement, usesTypeAnnotationsprotected boolean previousAtomic
protected PipelineConfiguration pipelineConfiguration
protected String systemId
public SequenceReceiver(PipelineConfiguration pipe)
pipe - the pipeline configurationpublic final PipelineConfiguration getPipelineConfiguration()
ReceivergetPipelineConfiguration in interface Receiverpublic void setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
ReceiversetPipelineConfiguration in interface ReceiverpipelineConfiguration - the pipeline configurationpublic final Configuration getConfiguration()
public void setSystemId(String systemId)
setSystemId in interface ResultsetSystemId in interface ReceiversystemId - the URI used to identify the tree being passed across this interfacepublic String getSystemId()
getSystemId in interface Resultpublic void setUnparsedEntity(String name, String systemID, String publicID) throws XPathException
setUnparsedEntity in interface Receivername - The name of the unparsed entitysystemID - The system identifier of the unparsed entitypublicID - The public identifier of the unparsed entityXPathException - if an error occurspublic void open()
throws XPathException
open in interface ReceiverXPathException - if an error occurspublic 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_NAMESPACESXPathException - if the operation failspublic void append(Item item) throws XPathException
item - the item to be appendedXPathException - if the operation failspublic NamePool getNamePool()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.