Interface XmlOutputFactory
-
- All Known Implementing Classes:
ConfluenceXmlOutputFactory,DelegateXmlOutputFactory
public interface XmlOutputFactoryThis was introduced mainly becauseXMLOutputFactoryis an abstract class :(We have implementations of
XMLOutputFactorythat 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 XMLEventWritercreateXMLEventWriter(OutputStream stream)XMLEventWritercreateXMLEventWriter(OutputStream stream, String encoding)XMLEventWritercreateXMLEventWriter(Writer stream)XMLEventWritercreateXMLEventWriter(Result result)XMLStreamWritercreateXMLStreamWriter(OutputStream stream)XMLStreamWritercreateXMLStreamWriter(OutputStream stream, String encoding)XMLStreamWritercreateXMLStreamWriter(Writer stream)XMLStreamWritercreateXMLStreamWriter(Result result)ObjectgetProperty(String name)booleanisPropertySupported(String name)voidsetProperty(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)
-
-