Java org.jdom2.output XMLOutputter fields, constructors, methods, implement or subclass

Example usage for Java org.jdom2.output XMLOutputter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jdom2.output XMLOutputter.

The text is from its open source code.

Constructor

XMLOutputter()
This will create an XMLOutputter with a default Format and XMLOutputProcessor .
XMLOutputter(XMLOutputter that)
This will create an XMLOutputter with the same customisations set in the given XMLOutputter instance.
XMLOutputter(Format format)
This will create an XMLOutputter with the specified format characteristics.
XMLOutputter(XMLOutputProcessor processor)
This will create an XMLOutputter with the specified XMLOutputProcessor.
XMLOutputter(Format format, XMLOutputProcessor processor)
This will create an XMLOutputter with the specified format characteristics.

Method

FormatgetFormat()
Returns the current format in use by the XMLOutputter.
voidoutput(Document doc, OutputStream out)
This will print the Document to the given OutputStream.
voidoutput(DocType doctype, OutputStream out)
This will print the DocType to the given OutputStream.
voidoutput(Element element, OutputStream out)
Print out an Element , including its Attribute s, and all contained (child) elements, etc.
voidoutput(List list, OutputStream out)
This will handle printing out a list of nodes.
voidoutput(CDATA cdata, OutputStream out)
Print out a CDATA node.
voidoutput(Text text, OutputStream out)
Print out a Text node.
voidoutput(Comment comment, OutputStream out)
Print out a Comment .
voidoutput(ProcessingInstruction pi, OutputStream out)
Print out a ProcessingInstruction .
voidoutput(EntityRef entity, OutputStream out)
Print out a EntityRef .
voidoutput(Document doc, Writer out)
This will print the Document to the given Writer.
voidoutput(DocType doctype, Writer out)
Print out the DocType .
voidoutput(Element element, Writer out)
Print out an Element , including its Attribute s, and all contained (child) elements, etc.
voidoutput(List list, Writer out)
This will handle printing out a list of nodes.
voidoutput(CDATA cdata, Writer out)
Print out a CDATA node.
voidoutput(Text text, Writer out)
Print out a Text node.
voidoutput(Comment comment, Writer out)
Print out a Comment .
voidoutput(ProcessingInstruction pi, Writer out)
Print out a ProcessingInstruction .
voidoutput(EntityRef entity, Writer out)
Print out an EntityRef .
voidoutputElementContent(Element element, OutputStream out)
This will handle printing out an Element 's content only, not including its tag, and attributes.
voidoutputElementContent(Element element, Writer out)
This will handle printing out an Element 's content only, not including its tag, and attributes.
StringoutputElementContentString(Element element)
This will handle printing out an Element 's content only, not including its tag, and attributes.
StringoutputString(Document doc)
Return a string representing a Document .
StringoutputString(DocType doctype)
Return a string representing a DocType .
StringoutputString(Element element)
Return a string representing an Element .
StringoutputString(List list)
Return a string representing a List of Content nodes.
StringoutputString(CDATA cdata)
Return a string representing a CDATA node.
StringoutputString(Text text)
Return a string representing a Text node.
StringoutputString(Comment comment)
Return a string representing a Comment .
StringoutputString(ProcessingInstruction pi)
Return a string representing a ProcessingInstruction .
StringoutputString(EntityRef entity)
Return a string representing an EntityRef .
voidsetFormat(Format newFormat)
Sets the new format logic for the XMLOutputter.
voidsetXMLOutputProcessor(XMLOutputProcessor processor)
Sets a new XMLOutputProcessor instance for this XMLOutputter.