Class AnnotatedXMLEventWriter

java.lang.Object
org.dellroad.stuff.xml.EventWriterDelegate
org.dellroad.stuff.xml.AnnotatedXMLEventWriter
All Implemented Interfaces:
XMLEventConsumer, XMLEventWriter

public abstract class AnnotatedXMLEventWriter extends EventWriterDelegate
XMLEventWriter 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 AnnotatedXMLEventReader to transparently annotate XML documents.

See Also: