Example usage for Java org.apache.commons.jelly XMLOutput fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Provides a useful hook that implementations can use to close the underlying OutputStream or Writer |
XMLOutput | createDummyXMLOutput() returns an XMLOutput object that will discard all tag-generated XML events. |
XMLOutput | createXMLOutput(XMLReader xmlReader) Creates an XMLOutput from an existing SAX XMLReader |
XMLOutput | createXMLOutput(Writer writer) Creates a text based XMLOutput which converts all XML events into text and writes to the underlying Writer. |
XMLOutput | createXMLOutput(OutputStream out) Creates a text based XMLOutput which converts all XML events into text and writes to the underlying OutputStream. |
XMLOutput | createXMLOutput(final XMLWriter xmlWriter) Factory method to create a new XMLOutput from an XMLWriter |
XMLOutput | createXMLOutput(Writer writer, boolean escapeText) Creates a text based XMLOutput which converts all XML events into text and writes to the underlying Writer. |
XMLOutput | createXMLOutput(OutputStream out, boolean escapeText) Creates a text based XMLOutput which converts all XML events into text and writes to the underlying OutputStream. |
void | endDocument() Receive notification of the end of a document. |
void | endElement(String uri, String localName, String qName) Receive notification of the end of an element. |
void | flush() |
ContentHandler | getContentHandler() |
void | setContentHandler(ContentHandler contentHandler) Sets the SAX ContentHandler to pipe SAX events into |
void | startDocument() Receive notification of the beginning of a document. |
void | startElement(String uri, String localName, String qName, Attributes atts) Receive notification of the beginning of an element. |
void | write(String text) Outputs the given String as a piece of valid text in the XML event stream. |