public class

ConfluenceXmlOutputFactory

extends DelegateXmlOutputFactory
java.lang.Object
   ↳ javax.xml.stream.XMLOutputFactory
     ↳ com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
       ↳ com.atlassian.confluence.content.render.xhtml.ConfluenceXmlOutputFactory

Class Overview

This "Confluence" implementation of XmlOutputFactory was introduced primarily to deal with STAX-58. The intention is to override the factory method createXMLStreamWriter(java.io.Writer) to return our own customized writer that fixes the issue of marshalling some characters incorrectly.

Summary

[Expand]
Inherited Constants
From class javax.xml.stream.XMLOutputFactory
Public Constructors
ConfluenceXmlOutputFactory(XMLOutputFactory xmlOutputFactory)
Public Methods
XMLEventWriter createXMLEventWriter(Writer writer)
[Expand]
Inherited Methods
From class com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
From class javax.xml.stream.XMLOutputFactory
From class java.lang.Object
From interface com.atlassian.confluence.content.render.xhtml.XmlOutputFactory

Public Constructors

public ConfluenceXmlOutputFactory (XMLOutputFactory xmlOutputFactory)

Public Methods

public XMLEventWriter createXMLEventWriter (Writer writer)

Throws
XMLStreamException