org.apache.axiom.util.stax.dialect
Class Woodstox4InputFactoryWrapper

java.lang.Object
  extended by javax.xml.stream.XMLInputFactory
      extended by org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
          extended by org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory
              extended by org.apache.axiom.util.stax.dialect.Woodstox4InputFactoryWrapper

public class Woodstox4InputFactoryWrapper
extends WrappingXMLInputFactory


Field Summary
 
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(XMLInputFactory parent, org.apache.axiom.util.stax.dialect.AbstractStAXDialect dialect, boolean wstx276)
           
 
Method Summary
 XMLStreamReader createXMLStreamReader(InputStream stream)
           
 XMLStreamReader createXMLStreamReader(InputStream stream, String encoding)
           
 XMLStreamReader createXMLStreamReader(Reader reader)
           
 XMLStreamReader createXMLStreamReader(String systemId, InputStream stream)
           
 XMLStreamReader createXMLStreamReader(String systemId, Reader reader)
           
protected  XMLStreamReader wrap(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 org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper
getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupported, setEventAllocator, setProperty, setXMLReporter, setXMLResolver
 
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
 

Constructor Detail

Woodstox4InputFactoryWrapper

public Woodstox4InputFactoryWrapper(XMLInputFactory parent,
                                    org.apache.axiom.util.stax.dialect.AbstractStAXDialect dialect,
                                    boolean wstx276)
Method Detail

createXMLStreamReader

public XMLStreamReader createXMLStreamReader(InputStream stream,
                                             String encoding)
                                      throws XMLStreamException
Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
Throws:
XMLStreamException

createXMLStreamReader

public XMLStreamReader createXMLStreamReader(InputStream stream)
                                      throws XMLStreamException
Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
Throws:
XMLStreamException

createXMLStreamReader

public XMLStreamReader createXMLStreamReader(Reader reader)
                                      throws XMLStreamException
Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
Throws:
XMLStreamException

createXMLStreamReader

public XMLStreamReader createXMLStreamReader(String systemId,
                                             InputStream stream)
                                      throws XMLStreamException
Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
Throws:
XMLStreamException

createXMLStreamReader

public XMLStreamReader createXMLStreamReader(String systemId,
                                             Reader reader)
                                      throws XMLStreamException
Overrides:
createXMLStreamReader in class WrappingXMLInputFactory
Throws:
XMLStreamException

wrap

protected XMLStreamReader wrap(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.