|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.event.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 | |
protected LocationProvider |
locator
|
protected boolean |
previousAtomic
|
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)
Output an item (atomic value or node) to the sequence |
LocationProvider |
getDocumentLocator()
Get the LocationProvider previously set using setDocumentLocator |
java.lang.String |
getSystemId()
|
void |
open()
Start the output process |
void |
setDocumentLocator(LocationProvider locator)
Set location provider, to identify position in the source document or stylesheet. |
void |
setSystemId(java.lang.String systemId)
Set the System ID of the destination tree |
void |
setUnparsedEntity(java.lang.String name,
java.lang.String systemId,
java.lang.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, getConfiguration, namespace, processingInstruction, setConfiguration, startContent, startDocument, startElement |
Field Detail |
protected boolean previousAtomic
protected LocationProvider locator
Constructor Detail |
public SequenceReceiver()
Method Detail |
public void setSystemId(java.lang.String systemId)
Receiver
setSystemId
in interface Receiver
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.Result
public void setDocumentLocator(LocationProvider locator)
Receiver
setDocumentLocator
in interface Receiver
public LocationProvider getDocumentLocator()
Receiver
getDocumentLocator
in interface Receiver
public void setUnparsedEntity(java.lang.String name, java.lang.String systemId, java.lang.String publicId) throws XPathException
Receiver
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
XPathException
public void open() throws XPathException
open
in interface Receiver
XPathException
public abstract void append(Item item, int locationId) throws XPathException
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |