|
||||||||||
| 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 |
| Fields inherited from class net.sf.saxon.event.SequenceReceiver |
pipelineConfiguration, previousAtomic, systemId |
| 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, getUnderlyingReceiver, namespace, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument |
| Methods inherited from class net.sf.saxon.event.SequenceReceiver |
append, getPipelineConfiguration, getSystemId |
| 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 Receiveropen in class ProxyReceiverXPathException
public void close()
throws XPathException
close in interface Receiverclose in class ProxyReceiverXPathException
public void characters(java.lang.CharSequence chars,
int locationId,
int properties)
throws XPathException
characters in interface Receivercharacters in class ProxyReceiverXPathException
public void processingInstruction(java.lang.String target,
java.lang.CharSequence data,
int locationId,
int properties)
throws XPathException
processingInstruction in interface ReceiverprocessingInstruction in class ProxyReceiverXPathException
public void comment(java.lang.CharSequence chars,
int locationId,
int properties)
throws XPathException
comment in interface Receivercomment in class ProxyReceiverXPathException
public void startElement(int nameCode,
int typeCode,
int locationId,
int properties)
throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceivernameCode - 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 | |||||||||