Package javax.xml.stream
Class XMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XMLEventWriter
createXMLEventWriter
(OutputStream stream) abstract XMLEventWriter
createXMLEventWriter
(OutputStream stream, String encoding) abstract XMLEventWriter
createXMLEventWriter
(Writer stream) abstract XMLEventWriter
createXMLEventWriter
(Result result) abstract XMLStreamWriter
createXMLStreamWriter
(OutputStream stream) abstract XMLStreamWriter
createXMLStreamWriter
(OutputStream stream, String encoding) abstract XMLStreamWriter
createXMLStreamWriter
(Writer stream) abstract XMLStreamWriter
createXMLStreamWriter
(Result result) abstract Object
getProperty
(String name) abstract boolean
isPropertySupported
(String name) static XMLOutputFactory
static XMLInputFactory
newInstance
(String factoryId, ClassLoader classLoader) abstract void
setProperty
(String name, Object value)
-
Field Details
-
IS_REPAIRING_NAMESPACES
- See Also:
-
-
Constructor Details
-
XMLOutputFactory
protected XMLOutputFactory()
-
-
Method Details
-
newInstance
- Throws:
FactoryConfigurationError
-
newInstance
public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError - Throws:
FactoryConfigurationError
-
createXMLStreamWriter
- Throws:
XMLStreamException
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException - Throws:
XMLStreamException
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException - Throws:
XMLStreamException
-
createXMLStreamWriter
- Throws:
XMLStreamException
-
createXMLEventWriter
- Throws:
XMLStreamException
-
createXMLEventWriter
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException - Throws:
XMLStreamException
-
createXMLEventWriter
- Throws:
XMLStreamException
-
setProperty
- Throws:
IllegalArgumentException
-
getProperty
- Throws:
IllegalArgumentException
-
isPropertySupported
-