|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
net.sf.saxon.event.UncommittedSerializer
This class is used when the decision on which serialization method to use has to be delayed until the first element is read. It buffers comments and processing instructions until that happens; then when the first element arrives it creates a real serialization pipeline and uses that for future output.
Field Summary |
Fields inherited from class net.sf.saxon.event.ProxyReceiver |
nextReceiver, systemId |
Fields inherited from class net.sf.saxon.event.SequenceReceiver |
pipelineConfiguration, previousAtomic |
Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
UncommittedSerializer(javax.xml.transform.Result finalResult,
java.util.Properties outputProperties)
|
Method Summary | |
void |
characters(java.lang.CharSequence chars,
int locationId,
int properties)
Produce character output using the current Writer. |
void |
close()
End of document |
void |
comment(java.lang.CharSequence chars,
int locationId,
int properties)
Output a comment |
void |
open()
Start of event stream |
void |
processingInstruction(java.lang.String target,
java.lang.CharSequence data,
int locationId,
int properties)
Processing Instruction |
void |
startElement(int nameCode,
int typeCode,
int locationId,
int properties)
Output an element start tag. |
Methods inherited from class net.sf.saxon.event.ProxyReceiver |
attribute, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getSystemId, getUnderlyingReceiver, namespace, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument |
Methods inherited from class net.sf.saxon.event.SequenceReceiver |
append, getPipelineConfiguration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UncommittedSerializer(javax.xml.transform.Result finalResult, java.util.Properties outputProperties)
Method Detail |
public void open() throws XPathException
ProxyReceiver
open
in interface Receiver
open
in class ProxyReceiver
XPathException
public void close() throws XPathException
close
in interface Receiver
close
in class ProxyReceiver
XPathException
public void characters(java.lang.CharSequence chars, int locationId, int properties) throws XPathException
characters
in interface Receiver
characters
in class ProxyReceiver
XPathException
public void processingInstruction(java.lang.String target, java.lang.CharSequence data, int locationId, int properties) throws XPathException
processingInstruction
in interface Receiver
processingInstruction
in class ProxyReceiver
XPathException
public void comment(java.lang.CharSequence chars, int locationId, int properties) throws XPathException
comment
in interface Receiver
comment
in class ProxyReceiver
XPathException
public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ProxyReceiver
nameCode
- The element name (tag)typeCode
- The type annotationproperties
- Bit field holding special properties of the element
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |