Package javax.xml.stream
Class XMLOutputFactory
- java.lang.Object
-
- javax.xml.stream.XMLOutputFactory
-
public abstract class XMLOutputFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringIS_REPAIRING_NAMESPACES
-
Constructor Summary
Constructors Modifier Constructor Description protectedXMLOutputFactory()
-
Method Summary
-
-
-
Field Detail
-
IS_REPAIRING_NAMESPACES
public static final String IS_REPAIRING_NAMESPACES
- See Also:
- Constant Field Values
-
-
Method Detail
-
newDefaultFactory
public static XMLOutputFactory newDefaultFactory()
-
newInstance
public static XMLOutputFactory newInstance() throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
-
newFactory
public static XMLOutputFactory newFactory() throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
-
newInstance
@Deprecated public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError
Deprecated.- Throws:
FactoryConfigurationError
-
newFactory
public static XMLOutputFactory newFactory(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
-
createXMLStreamWriter
public abstract XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException
- 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
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(OutputStream stream) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
- Throws:
XMLStreamException
-
setProperty
public abstract void setProperty(String name, Object value) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getProperty
public abstract Object getProperty(String name) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
isPropertySupported
public abstract boolean isPropertySupported(String name)
-
-