Class AnnotatedXMLStreamWriter

java.lang.Object
org.dellroad.stuff.xml.StreamWriterDelegate
org.dellroad.stuff.xml.AnnotatedXMLStreamWriter
All Implemented Interfaces:
XMLStreamWriter
Direct Known Subclasses:
UpdatesXMLStreamWriter

public abstract class AnnotatedXMLStreamWriter extends StreamWriterDelegate
XMLStreamWriter that adds an extra annotation element to an XML document as it is written. The annotation element will be added as the first element inside the top-level document element.

This class can be used in combination with AnnotatedXMLStreamReader to transparently annotate XML documents.

See Also: