org.apache.axiom.util.stax.wrapper
Class XMLOutputFactoryWrapper
java.lang.Object
javax.xml.stream.XMLOutputFactory
org.apache.axiom.util.stax.wrapper.XMLOutputFactoryWrapper
- Direct Known Subclasses:
- ImmutableXMLOutputFactory, WrappingXMLOutputFactory
public class XMLOutputFactoryWrapper
- extends javax.xml.stream.XMLOutputFactory
Base class for XMLOutputFactory wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent factory.
| Fields inherited from class javax.xml.stream.XMLOutputFactory |
IS_REPAIRING_NAMESPACES |
| Methods inherited from class javax.xml.stream.XMLOutputFactory |
newInstance, newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLOutputFactoryWrapper
public XMLOutputFactoryWrapper(javax.xml.stream.XMLOutputFactory parent)
- Constructor.
- Parameters:
parent - the parent factory
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Specified by:
getProperty in class javax.xml.stream.XMLOutputFactory
- Throws:
java.lang.IllegalArgumentException
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Specified by:
isPropertySupported in class javax.xml.stream.XMLOutputFactory
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- Specified by:
setProperty in class javax.xml.stream.XMLOutputFactory
- Throws:
java.lang.IllegalArgumentException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.