Package org.dellroad.stuff.xml
package org.dellroad.stuff.xml
XML utility classes.
-
ClassDescription
XMLEventReader
that reads and removes an initial annotation element from an XML document.XMLEventWriter
that adds an extra annotation element to an XML document as it is written.XMLStreamReader
that reads and removes an initial annotation element from an XML document.XMLStreamWriter
that adds an extra annotation element to an XML document as it is written.Wrapper for an underlyingXMLStreamWriter
that replaces consecutive opening and closing XML tags with empty string content with a single self-closing tag.Support superclass for filteringXMLEventWriter
implementations.Wrapper for an underlyingXMLEventWriter
that automatically adds indentation to the event stream.Wrapper for an underlyingXMLStreamWriter
that "pretty-prints" the XML by replacing the whitespace between XML tags so that the result is properly indented.Wrapper for aXMLEventReader
that keeps track of the current element(s) being parsed as a stack ofStartElement
events.Represents some XML output event(s) that can be applied to anXMLStreamWriter
.Support superclass for filteringXMLStreamWriter
implementations.ErrorListener
implementation that logs the messages to a configuredLogger
and throws exceptions in cases of errors and fatal errors.