de.odysseus.staxon.base
Class AbstractXMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
de.odysseus.staxon.base.AbstractXMLOutputFactory
- Direct Known Subclasses:
- JsonXMLOutputFactory
public abstract class AbstractXMLOutputFactory
- extends XMLOutputFactory
Abstract XML output factory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXMLOutputFactory
public AbstractXMLOutputFactory()
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(Result result)
throws XMLStreamException
- Specified by:
createXMLStreamWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Result result)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream,
String encoding)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Writer stream)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(XMLStreamWriter writer)
throws XMLStreamException
- Throws:
XMLStreamException
isPropertySupported
public boolean isPropertySupported(String name)
- Specified by:
isPropertySupported in class XMLOutputFactory
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Specified by:
getProperty in class XMLOutputFactory
- Throws:
IllegalArgumentException
setProperty
public void setProperty(String name,
Object value)
throws IllegalArgumentException
- Specified by:
setProperty in class XMLOutputFactory
- Throws:
IllegalArgumentException
Copyright © 2011-2012. All Rights Reserved.