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 javax.xml.stream.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.
| Fields inherited from class javax.xml.stream.XMLInputFactory |
ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD |
| Methods inherited from class javax.xml.stream.XMLInputFactory |
newInstance, newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLInputFactoryWrapper
public XMLInputFactoryWrapper(javax.xml.stream.XMLInputFactory parent)
- Constructor.
- Parameters:
parent - the parent factory
createFilteredReader
public javax.xml.stream.XMLEventReader createFilteredReader(javax.xml.stream.XMLEventReader reader,
javax.xml.stream.EventFilter filter)
throws javax.xml.stream.XMLStreamException
- Specified by:
createFilteredReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createFilteredReader
public javax.xml.stream.XMLStreamReader createFilteredReader(javax.xml.stream.XMLStreamReader reader,
javax.xml.stream.StreamFilter filter)
throws javax.xml.stream.XMLStreamException
- Specified by:
createFilteredReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(java.io.InputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(java.io.InputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(java.io.Reader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(javax.xml.transform.Source source)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(java.lang.String systemId,
java.io.InputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(java.lang.String systemId,
java.io.Reader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventReader
public javax.xml.stream.XMLEventReader createXMLEventReader(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.InputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.InputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.Reader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(javax.xml.transform.Source source)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.lang.String systemId,
java.io.InputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.lang.String systemId,
java.io.Reader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamReader in class javax.xml.stream.XMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
getEventAllocator
public javax.xml.stream.util.XMLEventAllocator getEventAllocator()
- Specified by:
getEventAllocator in class javax.xml.stream.XMLInputFactory
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Specified by:
getProperty in class javax.xml.stream.XMLInputFactory
- Throws:
java.lang.IllegalArgumentException
getXMLReporter
public javax.xml.stream.XMLReporter getXMLReporter()
- Specified by:
getXMLReporter in class javax.xml.stream.XMLInputFactory
getXMLResolver
public javax.xml.stream.XMLResolver getXMLResolver()
- Specified by:
getXMLResolver in class javax.xml.stream.XMLInputFactory
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Specified by:
isPropertySupported in class javax.xml.stream.XMLInputFactory
setEventAllocator
public void setEventAllocator(javax.xml.stream.util.XMLEventAllocator allocator)
- Specified by:
setEventAllocator in class javax.xml.stream.XMLInputFactory
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- Specified by:
setProperty in class javax.xml.stream.XMLInputFactory
- Throws:
java.lang.IllegalArgumentException
setXMLReporter
public void setXMLReporter(javax.xml.stream.XMLReporter reporter)
- Specified by:
setXMLReporter in class javax.xml.stream.XMLInputFactory
setXMLResolver
public void setXMLResolver(javax.xml.stream.XMLResolver resolver)
- Specified by:
setXMLResolver in class javax.xml.stream.XMLInputFactory
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.