public class ConfluenceXmlOutputFactory extends DelegateXmlOutputFactory
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.
IS_REPAIRING_NAMESPACES
Constructor and Description |
---|
ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory) |
Modifier and Type | Method and Description |
---|---|
XMLEventWriter |
createXMLEventWriter(Writer writer) |
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, getProperty, isPropertySupported, setProperty
newFactory, newFactory, newInstance, newInstance
public ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory)
public XMLEventWriter createXMLEventWriter(Writer writer) throws XMLStreamException
createXMLEventWriter
in interface XmlOutputFactory
createXMLEventWriter
in class DelegateXmlOutputFactory
XMLStreamException
Copyright © 2003–2019 Atlassian. All rights reserved.