com.atlassian.confluence.content.render.xhtml
Interface XmlOutputFactory

All Known Implementing Classes:
ConfluenceXmlOutputFactory, DelegateXmlOutputFactory

public interface XmlOutputFactory

This was introduced mainly because XMLOutputFactory is an abstract class :( We have implementations of 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).

Since:
4.0

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

Method Detail

createXMLStreamWriter

XMLStreamWriter createXMLStreamWriter(Writer stream)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamWriter

XMLStreamWriter createXMLStreamWriter(OutputStream stream)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamWriter

XMLStreamWriter createXMLStreamWriter(OutputStream stream,
                                      String encoding)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamWriter

XMLStreamWriter createXMLStreamWriter(Result result)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLEventWriter

XMLEventWriter createXMLEventWriter(Result result)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventWriter

XMLEventWriter createXMLEventWriter(OutputStream stream)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventWriter

XMLEventWriter createXMLEventWriter(OutputStream stream,
                                    String encoding)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventWriter

XMLEventWriter createXMLEventWriter(Writer stream)
                                    throws XMLStreamException
Throws:
XMLStreamException

setProperty

void setProperty(String name,
                 Object value)
                 throws IllegalArgumentException
Throws:
IllegalArgumentException

getProperty

Object getProperty(String name)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException

isPropertySupported

boolean isPropertySupported(String name)


Copyright © 2003-2012 Atlassian. All Rights Reserved.