public class XMLInputFactoryWrapper extends XMLInputFactory
XMLInputFactory
wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent factory.ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD
Constructor and Description |
---|
XMLInputFactoryWrapper(XMLInputFactory parent)
Constructor.
|
newFactory, newFactory, newInstance, newInstance
public XMLInputFactoryWrapper(XMLInputFactory parent)
parent
- the parent factorypublic XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
createFilteredReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
createFilteredReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLEventAllocator getEventAllocator()
getEventAllocator
in class XMLInputFactory
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in class XMLInputFactory
IllegalArgumentException
public XMLReporter getXMLReporter()
getXMLReporter
in class XMLInputFactory
public XMLResolver getXMLResolver()
getXMLResolver
in class XMLInputFactory
public boolean isPropertySupported(String name)
isPropertySupported
in class XMLInputFactory
public void setEventAllocator(XMLEventAllocator allocator)
setEventAllocator
in class XMLInputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class XMLInputFactory
IllegalArgumentException
public void setXMLReporter(XMLReporter reporter)
setXMLReporter
in class XMLInputFactory
public void setXMLResolver(XMLResolver resolver)
setXMLResolver
in class XMLInputFactory
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.