com.atlassian.confluence.content.render.xhtml
Class ConfluenceXmlOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
com.atlassian.confluence.content.render.xhtml.ConfluenceXmlOutputFactory
- All Implemented Interfaces:
- XmlOutputFactory
public class ConfluenceXmlOutputFactory
- extends DelegateXmlOutputFactory
This "Confluence" implementation of XmlOutputFactory
was introduced primarily to deal with
STAX-58.
The intention is to override the factory method DelegateXmlOutputFactory.createXMLStreamWriter(java.io.Writer)
to return our own customized
writer that fixes the issue of marshalling some characters incorrectly.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceXmlOutputFactory
public ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory)
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Writer writer)
throws XMLStreamException
- Specified by:
createXMLEventWriter
in interface XmlOutputFactory
- Overrides:
createXMLEventWriter
in class DelegateXmlOutputFactory
- Throws:
XMLStreamException
Copyright © 2003-2013 Atlassian. All Rights Reserved.