Package org.dellroad.stuff.xml
package org.dellroad.stuff.xml
XML utility classes.
-
ClassesClassDescription
XMLEventReaderthat reads and removes an initial annotation element from an XML document.XMLEventWriterthat adds an extra annotation element to an XML document as it is written.XMLStreamReaderthat reads and removes an initial annotation element from an XML document.XMLStreamWriterthat adds an extra annotation element to an XML document as it is written.Wrapper for an underlyingXMLStreamWriterthat replaces consecutive opening and closing XML tags with empty string content with a single self-closing tag.Support superclass for filteringXMLEventWriterimplementations.Wrapper for an underlyingXMLEventWriterthat automatically adds indentation to the event stream.Wrapper for an underlyingXMLStreamWriterthat "pretty-prints" the XML by replacing the whitespace between XML tags so that the result is properly indented.Wrapper for aXMLEventReaderthat keeps track of the current element(s) being parsed as a stack ofStartElementevents.Represents some XML output event(s) that can be applied to anXMLStreamWriter.Support superclass for filteringXMLStreamWriterimplementations.ErrorListenerimplementation that logs the messages to a configuredLoggerand throws exceptions in cases of errors and fatal errors.