| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.UncommittedSerializer
UncommittedSerializer | public class UncommittedSerializer extends ProxyReceiver (Code) | | 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.
author: Michael H. Kay |
Method Summary | |
public void | characters(CharSequence chars, int locationId, int properties) Produce character output using the current Writer. | public void | close() | public void | comment(CharSequence chars, int locationId, int properties) | public void | open() | public void | processingInstruction(String target, CharSequence data, int locationId, int properties) | public void | startElement(int nameCode, int typeCode, int locationId, int properties) Output an element start tag. |
committed | boolean committed(Code) | | |
characters | public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code) | | Produce character output using the current Writer.
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | Output an element start tag.
This can only be called once: it switches to a substitute output generator for XML, XHTML, or HTML,
depending on the element name.
Parameters: nameCode - The element name (tag) Parameters: typeCode - The type annotation Parameters: properties - Bit field holding special properties of the element |
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|