org.apache.axiom.util.stax.dialect
Class Woodstox4InputFactoryWrapper
java.lang.Object
javax.xml.stream.XMLInputFactory
org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory
org.apache.axiom.util.stax.dialect.Woodstox4InputFactoryWrapper
public class Woodstox4InputFactoryWrapper
- extends WrappingXMLInputFactory
| 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 |
|
Constructor Summary |
Woodstox4InputFactoryWrapper(javax.xml.stream.XMLInputFactory parent,
org.apache.axiom.util.stax.dialect.AbstractStAXDialect dialect,
boolean wstx276)
|
|
Method Summary |
javax.xml.stream.XMLStreamReader |
createXMLStreamReader(java.io.InputStream stream)
|
javax.xml.stream.XMLStreamReader |
createXMLStreamReader(java.io.InputStream stream,
java.lang.String encoding)
|
javax.xml.stream.XMLStreamReader |
createXMLStreamReader(java.io.Reader reader)
|
javax.xml.stream.XMLStreamReader |
createXMLStreamReader(java.lang.String systemId,
java.io.InputStream stream)
|
javax.xml.stream.XMLStreamReader |
createXMLStreamReader(java.lang.String systemId,
java.io.Reader reader)
|
protected javax.xml.stream.XMLStreamReader |
wrap(javax.xml.stream.XMLStreamReader reader)
Wrap a reader created from this factory. |
| Methods inherited from class org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory |
createFilteredReader, createFilteredReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLStreamReader, wrap |
| Methods inherited from class javax.xml.stream.XMLInputFactory |
newFactory, newFactory, newInstance, newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Woodstox4InputFactoryWrapper
public Woodstox4InputFactoryWrapper(javax.xml.stream.XMLInputFactory parent,
org.apache.axiom.util.stax.dialect.AbstractStAXDialect dialect,
boolean wstx276)
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.InputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.InputStream stream)
throws javax.xml.stream.XMLStreamException
- Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(java.io.Reader reader)
throws javax.xml.stream.XMLStreamException
- Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
- 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
- Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
- 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
- Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
- Throws:
javax.xml.stream.XMLStreamException
wrap
protected javax.xml.stream.XMLStreamReader wrap(javax.xml.stream.XMLStreamReader reader)
- Description copied from class:
WrappingXMLInputFactory
- Wrap a reader created from this factory. Implementations should override this method if they
which to wrap
XMLStreamReader instances created from the factory. The default
implementation simply returns the unwrapped reader.
- Overrides:
wrap in class WrappingXMLInputFactory
- Parameters:
reader - the reader to wrap
- Returns:
- the wrapped reader
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.