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(XMLInputFactory parent)
Constructor.
|
getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupported, setEventAllocator, setProperty, setXMLReporter, setXMLResolvernewFactory, newFactory, newInstance, newInstancepublic WrappingXMLInputFactory(XMLInputFactory parent)
parent - the parent factoryprotected XMLEventReader wrap(XMLEventReader reader)
XMLEventReader instances created from the factory. The default
implementation simply returns the unwrapped reader.reader - the reader to wrapprotected XMLStreamReader wrap(XMLStreamReader reader)
XMLStreamReader instances created from the factory. The default
implementation simply returns the unwrapped reader.reader - the reader to wrappublic XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryWrapperXMLStreamExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.