public abstract class XMLInputFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALLOCATOR |
static java.lang.String |
IS_COALESCING |
static java.lang.String |
IS_NAMESPACE_AWARE |
static java.lang.String |
IS_REPLACING_ENTITY_REFERENCES |
static java.lang.String |
IS_SUPPORTING_EXTERNAL_ENTITIES |
static java.lang.String |
IS_VALIDATING |
static java.lang.String |
REPORTER |
static java.lang.String |
RESOLVER |
static java.lang.String |
SUPPORT_DTD |
Modifier | Constructor and Description |
---|---|
protected |
XMLInputFactory() |
Modifier and Type | Method and Description |
---|---|
abstract XMLEventReader |
createFilteredReader(XMLEventReader reader,
EventFilter filter) |
abstract XMLStreamReader |
createFilteredReader(XMLStreamReader reader,
StreamFilter filter) |
abstract XMLEventReader |
createXMLEventReader(java.io.InputStream stream) |
abstract XMLEventReader |
createXMLEventReader(java.io.InputStream stream,
java.lang.String encoding) |
abstract XMLEventReader |
createXMLEventReader(java.io.Reader reader) |
abstract XMLEventReader |
createXMLEventReader(javax.xml.transform.Source source) |
abstract XMLEventReader |
createXMLEventReader(java.lang.String systemId,
java.io.InputStream stream) |
abstract XMLEventReader |
createXMLEventReader(java.lang.String systemId,
java.io.Reader reader) |
abstract XMLEventReader |
createXMLEventReader(XMLStreamReader reader) |
abstract XMLStreamReader |
createXMLStreamReader(java.io.InputStream stream) |
abstract XMLStreamReader |
createXMLStreamReader(java.io.InputStream stream,
java.lang.String encoding) |
abstract XMLStreamReader |
createXMLStreamReader(java.io.Reader reader) |
abstract XMLStreamReader |
createXMLStreamReader(javax.xml.transform.Source source) |
abstract XMLStreamReader |
createXMLStreamReader(java.lang.String systemId,
java.io.InputStream stream) |
abstract XMLStreamReader |
createXMLStreamReader(java.lang.String systemId,
java.io.Reader reader) |
abstract XMLEventAllocator |
getEventAllocator() |
abstract java.lang.Object |
getProperty(java.lang.String name) |
abstract XMLReporter |
getXMLReporter() |
abstract XMLResolver |
getXMLResolver() |
abstract boolean |
isPropertySupported(java.lang.String name) |
static XMLInputFactory |
newInstance() |
static XMLInputFactory |
newInstance(java.lang.String factoryId,
java.lang.ClassLoader classLoader) |
abstract void |
setEventAllocator(XMLEventAllocator allocator) |
abstract void |
setProperty(java.lang.String name,
java.lang.Object value) |
abstract void |
setXMLReporter(XMLReporter reporter) |
abstract void |
setXMLResolver(XMLResolver resolver) |
public static final java.lang.String ALLOCATOR
public static final java.lang.String IS_COALESCING
public static final java.lang.String IS_NAMESPACE_AWARE
public static final java.lang.String IS_REPLACING_ENTITY_REFERENCES
public static final java.lang.String IS_SUPPORTING_EXTERNAL_ENTITIES
public static final java.lang.String IS_VALIDATING
public static final java.lang.String REPORTER
public static final java.lang.String RESOLVER
public static final java.lang.String SUPPORT_DTD
public abstract XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(java.io.InputStream stream) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(java.io.InputStream stream, java.lang.String encoding) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(java.io.Reader reader) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(javax.xml.transform.Source source) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(java.lang.String systemId, java.io.InputStream stream) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(java.lang.String systemId, java.io.Reader reader) throws XMLStreamException
XMLStreamException
public abstract XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(java.io.InputStream stream) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(java.io.InputStream stream, java.lang.String encoding) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(java.io.Reader reader) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(javax.xml.transform.Source source) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(java.lang.String systemId, java.io.InputStream stream) throws XMLStreamException
XMLStreamException
public abstract XMLStreamReader createXMLStreamReader(java.lang.String systemId, java.io.Reader reader) throws XMLStreamException
XMLStreamException
public abstract XMLEventAllocator getEventAllocator()
public abstract java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public abstract XMLReporter getXMLReporter()
public abstract XMLResolver getXMLResolver()
public abstract boolean isPropertySupported(java.lang.String name)
public static XMLInputFactory newInstance() throws FactoryConfigurationError
FactoryConfigurationError
public static XMLInputFactory newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError
FactoryConfigurationError
public abstract void setEventAllocator(XMLEventAllocator allocator)
public abstract void setProperty(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public abstract void setXMLReporter(XMLReporter reporter)
public abstract void setXMLResolver(XMLResolver resolver)