com.atlassian.confluence.content.render.xhtml
Class ConfluenceXmlOutputFactory

java.lang.Object
  extended by javax.xml.stream.XMLOutputFactory
      extended by com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
          extended by 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.


Field Summary
 
Fields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES
 
Constructor Summary
ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory)
           
 
Method Summary
 XMLEventWriter createXMLEventWriter(Writer writer)
           
 
Methods inherited from class com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, getProperty, isPropertySupported, setProperty
 
Methods inherited from class javax.xml.stream.XMLOutputFactory
newFactory, newFactory, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceXmlOutputFactory

public ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory)
Method Detail

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.