Package javax.xml.stream
Class XMLOutputFactory
- java.lang.Object
-
- javax.xml.stream.XMLOutputFactory
-
public abstract class XMLOutputFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIS_REPAIRING_NAMESPACES
-
Constructor Summary
Constructors Modifier Constructor Description protectedXMLOutputFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract XMLEventWritercreateXMLEventWriter(java.io.OutputStream stream)abstract XMLEventWritercreateXMLEventWriter(java.io.OutputStream stream, java.lang.String encoding)abstract XMLEventWritercreateXMLEventWriter(java.io.Writer stream)abstract XMLEventWritercreateXMLEventWriter(Result result)abstract XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream stream)abstract XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream stream, java.lang.String encoding)abstract XMLStreamWritercreateXMLStreamWriter(java.io.Writer stream)abstract XMLStreamWritercreateXMLStreamWriter(Result result)abstract java.lang.ObjectgetProperty(java.lang.String name)abstract booleanisPropertySupported(java.lang.String name)static XMLOutputFactorynewInstance()static XMLInputFactorynewInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader)abstract voidsetProperty(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
IS_REPAIRING_NAMESPACES
public static final java.lang.String IS_REPAIRING_NAMESPACES
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static XMLOutputFactory newInstance() throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
-
newInstance
public static XMLInputFactory newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(java.io.Writer stream) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream, java.lang.String encoding) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(java.io.OutputStream stream) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(java.io.OutputStream stream, java.lang.String encoding) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(java.io.Writer stream) throws XMLStreamException
- Throws:
XMLStreamException
-
setProperty
public abstract void setProperty(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
getProperty
public abstract java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
isPropertySupported
public abstract boolean isPropertySupported(java.lang.String name)
-
-