Java org.apache.commons.jelly XMLOutput fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.jelly XMLOutput fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.jelly XMLOutput.

The text is from its open source code.

Constructor

Method

voidclose()
Provides a useful hook that implementations can use to close the underlying OutputStream or Writer
XMLOutputcreateDummyXMLOutput()
returns an XMLOutput object that will discard all tag-generated XML events.
XMLOutputcreateXMLOutput(XMLReader xmlReader)
Creates an XMLOutput from an existing SAX XMLReader
XMLOutputcreateXMLOutput(Writer writer)
Creates a text based XMLOutput which converts all XML events into text and writes to the underlying Writer.
XMLOutputcreateXMLOutput(OutputStream out)
Creates a text based XMLOutput which converts all XML events into text and writes to the underlying OutputStream.
XMLOutputcreateXMLOutput(final XMLWriter xmlWriter)
Factory method to create a new XMLOutput from an XMLWriter
XMLOutputcreateXMLOutput(Writer writer, boolean escapeText)
Creates a text based XMLOutput which converts all XML events into text and writes to the underlying Writer.
XMLOutputcreateXMLOutput(OutputStream out, boolean escapeText)
Creates a text based XMLOutput which converts all XML events into text and writes to the underlying OutputStream.
voidendDocument()
Receive notification of the end of a document.
voidendElement(String uri, String localName, String qName)
Receive notification of the end of an element.
voidflush()
ContentHandlergetContentHandler()
voidsetContentHandler(ContentHandler contentHandler)
Sets the SAX ContentHandler to pipe SAX events into
voidstartDocument()
Receive notification of the beginning of a document.
voidstartElement(String uri, String localName, String qName, Attributes atts)
Receive notification of the beginning of an element.
voidwrite(String text)
Outputs the given String as a piece of valid text in the XML event stream.