Example usage for Java org.jdom2.output XMLOutputter fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
Format | getFormat() Returns the current format in use by the XMLOutputter. |
void | output(Document doc, OutputStream out) This will print the Document to the given OutputStream. |
void | output(DocType doctype, OutputStream out) This will print the DocType to the given OutputStream. |
void | output(Element element, OutputStream out) Print out an Element , including its Attribute s, and all contained (child) elements, etc. |
void | output(List extends Content> list, OutputStream out) This will handle printing out a list of nodes. |
void | output(CDATA cdata, OutputStream out) Print out a CDATA node. |
void | output(Text text, OutputStream out) Print out a Text node. |
void | output(Comment comment, OutputStream out) Print out a Comment . |
void | output(ProcessingInstruction pi, OutputStream out) Print out a ProcessingInstruction . |
void | output(EntityRef entity, OutputStream out) Print out a EntityRef . |
void | output(Document doc, Writer out) This will print the Document to the given Writer. |
void | output(DocType doctype, Writer out) Print out the DocType . |
void | output(Element element, Writer out) Print out an Element , including its Attribute s, and all contained (child) elements, etc. |
void | output(List extends Content> list, Writer out) This will handle printing out a list of nodes. |
void | output(CDATA cdata, Writer out) Print out a CDATA node. |
void | output(Text text, Writer out) Print out a Text node. |
void | output(Comment comment, Writer out) Print out a Comment . |
void | output(ProcessingInstruction pi, Writer out) Print out a ProcessingInstruction . |
void | output(EntityRef entity, Writer out) Print out an EntityRef . |
void | outputElementContent(Element element, OutputStream out) This will handle printing out an Element 's content only, not including its tag, and attributes. |
void | outputElementContent(Element element, Writer out) This will handle printing out an Element 's content only, not including its tag, and attributes. |
String | outputElementContentString(Element element) This will handle printing out an Element 's content only, not including its tag, and attributes. |
String | outputString(Document doc) Return a string representing a Document . |
String | outputString(DocType doctype) Return a string representing a DocType . |
String | outputString(Element element) Return a string representing an Element . |
String | outputString(List extends Content> list) Return a string representing a List of Content nodes. |
String | outputString(CDATA cdata) Return a string representing a CDATA node. |
String | outputString(Text text) Return a string representing a Text node. |
String | outputString(Comment comment) Return a string representing a Comment . |
String | outputString(ProcessingInstruction pi) Return a string representing a ProcessingInstruction . |
String | outputString(EntityRef entity) Return a string representing an EntityRef . |
void | setFormat(Format newFormat) Sets the new format logic for the XMLOutputter. |
void | setXMLOutputProcessor(XMLOutputProcessor processor) Sets a new XMLOutputProcessor instance for this XMLOutputter. |