|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.event.SequenceReceiver
public abstract class SequenceReceiver
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 |
|---|
| Fields inherited from interface javax.xml.transform.Result |
|---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
|---|---|
SequenceReceiver()
|
|
| Method Summary | |
|---|---|
abstract void |
append(Item item,
int locationId,
int copyNamespaces)
Append an arbitrary item (node or atomic value) to the output |
Configuration |
getConfiguration()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 |
| Constructor Detail |
|---|
public SequenceReceiver()
| Method Detail |
|---|
public PipelineConfiguration getPipelineConfiguration()
Receiver
getPipelineConfiguration in interface Receiverpublic void setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
Receiver
setPipelineConfiguration in interface Receiverpublic 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 Result
public void setUnparsedEntity(String name,
String systemId,
String publicId)
throws XPathException
Receiver
setUnparsedEntity in interface Receivername - The name of the unparsed entitysystemId - The system identifier of the unparsed entitypublicId - The public identifier of the unparsed entity
XPathException
public void open()
throws XPathException
open in interface ReceiverXPathException
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
XPathExceptionpublic NamePool getNamePool()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||