public interface

XmlOutputFactory

com.atlassian.confluence.content.render.xhtml.XmlOutputFactory
Known Indirect Subclasses

Class Overview

This was introduced mainly because javax.xml.stream.XMLOutputFactory is an abstract class :( We have implementations of javax.xml.stream.XMLOutputFactory that we want to make available to plugins but OSGI ignores them because it only acknowledges beans with interfaces. (Speak to Ryan Thomas for more details).

Summary

Public Methods
XMLEventWriter createXMLEventWriter(OutputStream stream)
XMLEventWriter createXMLEventWriter(Writer stream)
XMLEventWriter createXMLEventWriter(Result result)
XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding)
XMLStreamWriter createXMLStreamWriter(Writer stream)
XMLStreamWriter createXMLStreamWriter(Result result)
XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding)
XMLStreamWriter createXMLStreamWriter(OutputStream stream)
Object getProperty(String name)
boolean isPropertySupported(String name)
void setProperty(String name, Object value)

Public Methods

public XMLEventWriter createXMLEventWriter (OutputStream stream)

Throws
XMLStreamException

public XMLEventWriter createXMLEventWriter (Writer stream)

Throws
XMLStreamException

public XMLEventWriter createXMLEventWriter (Result result)

Throws
XMLStreamException

public XMLEventWriter createXMLEventWriter (OutputStream stream, String encoding)

Throws
XMLStreamException

public XMLStreamWriter createXMLStreamWriter (Writer stream)

Throws
XMLStreamException

public XMLStreamWriter createXMLStreamWriter (Result result)

Throws
XMLStreamException

public XMLStreamWriter createXMLStreamWriter (OutputStream stream, String encoding)

Throws
XMLStreamException

public XMLStreamWriter createXMLStreamWriter (OutputStream stream)

Throws
XMLStreamException

public Object getProperty (String name)

public boolean isPropertySupported (String name)

public void setProperty (String name, Object value)