public class XMLOutputFactoryWrapper extends javax.xml.stream.XMLOutputFactory
XMLOutputFactory
wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent factory.IS_REPAIRING_NAMESPACES
Constructor and Description |
---|
XMLOutputFactoryWrapper(javax.xml.stream.XMLOutputFactory parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream stream) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream stream,
String encoding) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Result result) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Writer stream) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream stream) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream stream,
String encoding) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Result result) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Writer stream) |
Object |
getProperty(String name) |
boolean |
isPropertySupported(String name) |
void |
setProperty(String name,
Object value) |
newFactory, newFactory, newInstance, newInstance
public XMLOutputFactoryWrapper(javax.xml.stream.XMLOutputFactory parent)
parent
- the parent factorypublic javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream stream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Writer stream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Writer stream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in class javax.xml.stream.XMLOutputFactory
IllegalArgumentException
public boolean isPropertySupported(String name)
isPropertySupported
in class javax.xml.stream.XMLOutputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class javax.xml.stream.XMLOutputFactory
IllegalArgumentException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.