javax.xml.stream
Class XMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
public abstract class XMLOutputFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_REPAIRING_NAMESPACES
public static final String IS_REPAIRING_NAMESPACES
- See Also:
- Constant Field Values
XMLOutputFactory
protected XMLOutputFactory()
newInstance
public static XMLOutputFactory newInstance()
throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
newInstance
public static XMLInputFactory newInstance(String factoryId,
ClassLoader classLoader)
throws FactoryConfigurationError
- Deprecated. This method has been deprecated because
it returns an instance of XMLInputFactory, which is of the
wrong class. Use the new method
newFactory(java.lang.String factoryId,java.lang.ClassLoader classLoader)
instead.
- Create a new XMLOutputFactory
- Throws:
FactoryConfigurationError
newFactory
public static XMLOutputFactory newFactory()
throws FactoryConfigurationError
- Create a new XMLOutputFactory
This is the replacement for the deprecated newInstance() method
- Throws:
FactoryConfigurationError
newFactory
public static XMLOutputFactory newFactory(String factoryId,
ClassLoader classLoader)
throws FactoryConfigurationError
- Create a new XMLOutputFactory
This is the replacement for the deprecated newInstance() method
- 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)
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.