public abstract class BaseXMLOutputFactory extends XMLOutputFactory
XMLOutputFactory that provides common event functionality.IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
BaseXMLOutputFactory() |
| Modifier and Type | Method and Description |
|---|---|
XMLEventWriter |
createXMLEventWriter(OutputStream stream) |
XMLEventWriter |
createXMLEventWriter(OutputStream stream,
String encoding) |
XMLEventWriter |
createXMLEventWriter(Result result) |
XMLEventWriter |
createXMLEventWriter(Writer stream) |
XMLEventWriter |
createXMLEventWriter(XMLStreamWriter writer)
Creates an
XMLEventWriter that writes to the provided
XMLStreamWriter. |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream,
String encoding) |
XMLStreamWriter |
createXMLStreamWriter(Result result) |
Object |
getProperty(String name) |
boolean |
isPropertySupported(String name) |
void |
setProperty(String name,
Object value) |
createXMLStreamWriter, newFactory, newFactory, newInstance, newInstancepublic XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(XMLStreamWriter writer)
XMLEventWriter that writes to the provided
XMLStreamWriter.writer - The destination stream.XMLEventWriter that writes to the provided
XMLStreamWriter.public XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class XMLOutputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class XMLOutputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLOutputFactoryIllegalArgumentExceptionCopyright © 2018. All rights reserved.