Class XMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XMLEventWritercreateXMLEventWriter(OutputStream stream) abstract XMLEventWritercreateXMLEventWriter(OutputStream stream, String encoding) abstract XMLEventWritercreateXMLEventWriter(Writer stream) abstract XMLEventWritercreateXMLEventWriter(Result result) abstract XMLStreamWritercreateXMLStreamWriter(OutputStream stream) abstract XMLStreamWritercreateXMLStreamWriter(OutputStream stream, String encoding) abstract XMLStreamWritercreateXMLStreamWriter(Writer stream) abstract XMLStreamWritercreateXMLStreamWriter(Result result) abstract ObjectgetProperty(String name) abstract booleanisPropertySupported(String name) static XMLOutputFactorystatic XMLInputFactorynewInstance(String factoryId, ClassLoader classLoader) abstract voidsetProperty(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
-