org.apache.axiom.util.stax.wrapper
Class XMLInputFactoryWrapper
java.lang.Object
javax.xml.stream.XMLInputFactory
org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
- Direct Known Subclasses:
- ImmutableXMLInputFactory, WrappingXMLInputFactory
public class XMLInputFactoryWrapper
- extends XMLInputFactory
Base class for XMLInputFactory wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent factory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLInputFactoryWrapper
public XMLInputFactoryWrapper(XMLInputFactory parent)
- Constructor.
- Parameters:
parent - the parent factory
createFilteredReader
public XMLEventReader createFilteredReader(XMLEventReader reader,
EventFilter filter)
throws XMLStreamException
- Specified by:
createFilteredReader in class XMLInputFactory
- Throws:
XMLStreamException
createFilteredReader
public XMLStreamReader createFilteredReader(XMLStreamReader reader,
StreamFilter filter)
throws XMLStreamException
- Specified by:
createFilteredReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(InputStream stream,
String encoding)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(InputStream stream)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(Reader reader)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(Source source)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(String systemId,
InputStream stream)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(String systemId,
Reader reader)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(XMLStreamReader reader)
throws XMLStreamException
- Specified by:
createXMLEventReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(InputStream stream,
String encoding)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(InputStream stream)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(Reader reader)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(Source source)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(String systemId,
InputStream stream)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
createXMLStreamReader
public XMLStreamReader createXMLStreamReader(String systemId,
Reader reader)
throws XMLStreamException
- Specified by:
createXMLStreamReader in class XMLInputFactory
- Throws:
XMLStreamException
getEventAllocator
public XMLEventAllocator getEventAllocator()
- Specified by:
getEventAllocator in class XMLInputFactory
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Specified by:
getProperty in class XMLInputFactory
- Throws:
IllegalArgumentException
getXMLReporter
public XMLReporter getXMLReporter()
- Specified by:
getXMLReporter in class XMLInputFactory
getXMLResolver
public XMLResolver getXMLResolver()
- Specified by:
getXMLResolver in class XMLInputFactory
isPropertySupported
public boolean isPropertySupported(String name)
- Specified by:
isPropertySupported in class XMLInputFactory
setEventAllocator
public void setEventAllocator(XMLEventAllocator allocator)
- Specified by:
setEventAllocator in class XMLInputFactory
setProperty
public void setProperty(String name,
Object value)
throws IllegalArgumentException
- Specified by:
setProperty in class XMLInputFactory
- Throws:
IllegalArgumentException
setXMLReporter
public void setXMLReporter(XMLReporter reporter)
- Specified by:
setXMLReporter in class XMLInputFactory
setXMLResolver
public void setXMLResolver(XMLResolver resolver)
- Specified by:
setXMLResolver in class XMLInputFactory
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.