Interface XmlOutputFactory
-
- All Known Implementing Classes:
ConfluenceXmlOutputFactory
,DelegateXmlOutputFactory
public interface XmlOutputFactory
This was introduced mainly becauseXMLOutputFactory
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XMLEventWriter
createXMLEventWriter(OutputStream stream)
XMLEventWriter
createXMLEventWriter(OutputStream stream, String encoding)
XMLEventWriter
createXMLEventWriter(Writer stream)
XMLEventWriter
createXMLEventWriter(Result result)
XMLStreamWriter
createXMLStreamWriter(OutputStream stream)
XMLStreamWriter
createXMLStreamWriter(OutputStream stream, String encoding)
XMLStreamWriter
createXMLStreamWriter(Writer stream)
XMLStreamWriter
createXMLStreamWriter(Result result)
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)
-
-