Class ConfluenceXMLEventWriter

java.lang.Object
com.atlassian.confluence.content.render.xhtml.ConfluenceXMLEventWriter
All Implemented Interfaces:
XMLEventConsumer, XMLEventWriter

public class ConfluenceXMLEventWriter extends Object implements XMLEventWriter
This "Confluence" implementation of XMLEventWriter was introduced primarily to deal with STAX-58.

The intention is to wrap the default XMLEventWriter and intercept calls to add(javax.xml.stream.events.XMLEvent) and add(javax.xml.stream.XMLEventReader) and write characters correctly (rather than allowing woodstox to handle it incorrectly).