javax.xml.stream
Class XMLInputFactory
java.lang.Object
javax.xml.stream.XMLInputFactory
public abstract class XMLInputFactory
- extends Object
Method Summary |
abstract XMLEventReader |
createFilteredReader(XMLEventReader reader,
EventFilter filter)
|
abstract XMLStreamReader |
createFilteredReader(XMLStreamReader reader,
StreamFilter filter)
|
abstract XMLEventReader |
createXMLEventReader(InputStream stream)
|
abstract XMLEventReader |
createXMLEventReader(InputStream stream,
String encoding)
|
abstract XMLEventReader |
createXMLEventReader(Reader reader)
|
abstract XMLEventReader |
createXMLEventReader(Source source)
|
abstract XMLEventReader |
createXMLEventReader(String systemId,
InputStream stream)
|
abstract XMLEventReader |
createXMLEventReader(String systemId,
Reader reader)
|
abstract XMLEventReader |
createXMLEventReader(XMLStreamReader reader)
|
abstract XMLStreamReader |
createXMLStreamReader(InputStream stream)
|
abstract XMLStreamReader |
createXMLStreamReader(InputStream stream,
String encoding)
|
abstract XMLStreamReader |
createXMLStreamReader(Reader reader)
|
abstract XMLStreamReader |
createXMLStreamReader(Source source)
|
abstract XMLStreamReader |
createXMLStreamReader(String systemId,
InputStream stream)
|
abstract XMLStreamReader |
createXMLStreamReader(String systemId,
Reader reader)
|
abstract XMLEventAllocator |
getEventAllocator()
|
abstract Object |
getProperty(String name)
|
abstract XMLReporter |
getXMLReporter()
|
abstract XMLResolver |
getXMLResolver()
|
abstract boolean |
isPropertySupported(String name)
|
static XMLInputFactory |
newInstance()
|
static XMLInputFactory |
newInstance(String factoryId,
ClassLoader classLoader)
|
abstract void |
setEventAllocator(XMLEventAllocator allocator)
|
abstract void |
setProperty(String name,
Object value)
|
abstract void |
setXMLReporter(XMLReporter reporter)
|
abstract void |
setXMLResolver(XMLResolver resolver)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALLOCATOR
public static final String ALLOCATOR
- See Also:
- Constant Field Values
IS_COALESCING
public static final String IS_COALESCING
- See Also:
- Constant Field Values
IS_NAMESPACE_AWARE
public static final String IS_NAMESPACE_AWARE
- See Also:
- Constant Field Values
IS_REPLACING_ENTITY_REFERENCES
public static final String IS_REPLACING_ENTITY_REFERENCES
- See Also:
- Constant Field Values
IS_SUPPORTING_EXTERNAL_ENTITIES
public static final String IS_SUPPORTING_EXTERNAL_ENTITIES
- See Also:
- Constant Field Values
IS_VALIDATING
public static final String IS_VALIDATING
- See Also:
- Constant Field Values
REPORTER
public static final String REPORTER
- See Also:
- Constant Field Values
RESOLVER
public static final String RESOLVER
- See Also:
- Constant Field Values
SUPPORT_DTD
public static final String SUPPORT_DTD
- See Also:
- Constant Field Values
XMLInputFactory
protected XMLInputFactory()
newInstance
public static XMLInputFactory newInstance()
throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
newInstance
public static XMLInputFactory newInstance(String factoryId,
ClassLoader classLoader)
throws FactoryConfigurationError
- Throws:
FactoryConfigurationError
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(Source source)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(InputStream stream,
String encoding)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(String systemId,
InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(String systemId,
Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(String systemId,
Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(XMLStreamReader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(Source source)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(InputStream stream,
String encoding)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public abstract XMLEventReader createXMLEventReader(String systemId,
InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createFilteredReader
public abstract XMLStreamReader createFilteredReader(XMLStreamReader reader,
StreamFilter filter)
throws XMLStreamException
- Throws:
XMLStreamException
createFilteredReader
public abstract XMLEventReader createFilteredReader(XMLEventReader reader,
EventFilter filter)
throws XMLStreamException
- Throws:
XMLStreamException
getXMLResolver
public abstract XMLResolver getXMLResolver()
setXMLResolver
public abstract void setXMLResolver(XMLResolver resolver)
getXMLReporter
public abstract XMLReporter getXMLReporter()
setXMLReporter
public abstract void setXMLReporter(XMLReporter reporter)
setProperty
public abstract void setProperty(String name,
Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getProperty
public abstract Object getProperty(String name)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
isPropertySupported
public abstract boolean isPropertySupported(String name)
setEventAllocator
public abstract void setEventAllocator(XMLEventAllocator allocator)
getEventAllocator
public abstract XMLEventAllocator getEventAllocator()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.