public class WrappingXMLInputFactory extends XMLInputFactoryWrapper
XMLInputFactory
wrapper that wraps all XMLEventReader
and XMLStreamReader
instances created from it.ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD
Constructor and Description |
---|
WrappingXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
Constructor.
|
getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupported, setEventAllocator, setProperty, setXMLReporter, setXMLResolver
newFactory, newFactory, newInstance, newInstance
public WrappingXMLInputFactory(javax.xml.stream.XMLInputFactory parent)
parent
- the parent factoryprotected javax.xml.stream.XMLEventReader wrap(javax.xml.stream.XMLEventReader reader)
XMLEventReader
instances created from the factory. The default
implementation simply returns the unwrapped reader.reader
- the reader to wrapprotected javax.xml.stream.XMLStreamReader wrap(javax.xml.stream.XMLStreamReader reader)
XMLStreamReader
instances created from the factory. The default
implementation simply returns the unwrapped reader.reader
- the reader to wrappublic javax.xml.stream.XMLEventReader createFilteredReader(javax.xml.stream.XMLEventReader reader, javax.xml.stream.EventFilter filter) throws javax.xml.stream.XMLStreamException
createFilteredReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createFilteredReader(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.StreamFilter filter) throws javax.xml.stream.XMLStreamException
createFilteredReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(InputStream stream) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(Reader reader) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(Source source) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(String systemId, Reader reader) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader createXMLEventReader(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException
createXMLEventReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(InputStream stream) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(Reader reader) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(Source source) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws javax.xml.stream.XMLStreamException
createXMLStreamReader
in class XMLInputFactoryWrapper
javax.xml.stream.XMLStreamException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.