javax.xml.stream

Class XMLOutputFactory

public abstract class XMLOutputFactory extends Object

Field Summary
static StringIS_REPAIRING_NAMESPACES
Constructor Summary
protected XMLOutputFactory()
Method Summary
abstract XMLEventWritercreateXMLEventWriter(Result result)
abstract XMLEventWritercreateXMLEventWriter(OutputStream stream)
abstract XMLEventWritercreateXMLEventWriter(OutputStream stream, String encoding)
abstract XMLEventWritercreateXMLEventWriter(Writer stream)
abstract XMLStreamWritercreateXMLStreamWriter(Writer stream)
abstract XMLStreamWritercreateXMLStreamWriter(OutputStream stream)
abstract XMLStreamWritercreateXMLStreamWriter(OutputStream stream, String encoding)
abstract XMLStreamWritercreateXMLStreamWriter(Result result)
abstract ObjectgetProperty(String name)
abstract booleanisPropertySupported(String name)
static XMLOutputFactorynewInstance()
static XMLInputFactorynewInstance(String factoryId, ClassLoader classLoader)
abstract voidsetProperty(String name, Object value)

Field Detail

IS_REPAIRING_NAMESPACES

public static final String IS_REPAIRING_NAMESPACES

Constructor Detail

XMLOutputFactory

protected XMLOutputFactory()

Method Detail

createXMLEventWriter

public abstract XMLEventWriter createXMLEventWriter(Result result)

createXMLEventWriter

public abstract XMLEventWriter createXMLEventWriter(OutputStream stream)

createXMLEventWriter

public abstract XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding)

createXMLEventWriter

public abstract XMLEventWriter createXMLEventWriter(Writer stream)

createXMLStreamWriter

public abstract XMLStreamWriter createXMLStreamWriter(Writer stream)

createXMLStreamWriter

public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream)

createXMLStreamWriter

public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding)

createXMLStreamWriter

public abstract XMLStreamWriter createXMLStreamWriter(Result result)

getProperty

public abstract Object getProperty(String name)

isPropertySupported

public abstract boolean isPropertySupported(String name)

newInstance

public static XMLOutputFactory newInstance()

newInstance

public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader)

setProperty

public abstract void setProperty(String name, Object value)