javanet.staxutils
public abstract class BaseXMLInputFactory extends XMLInputFactory
Modifier and Type | Field and Description |
---|---|
protected XMLEventAllocator |
eventAllocator |
protected XMLReporter |
xmlReporter |
protected XMLResolver |
xmlResolver |
ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD
Constructor and Description |
---|
BaseXMLInputFactory() |
newFactory, newFactory, newInstance, newInstance
protected XMLEventAllocator eventAllocator
protected XMLReporter xmlReporter
protected XMLResolver xmlResolver
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in class XMLInputFactory
IllegalArgumentException
public boolean isPropertySupported(String name)
isPropertySupported
in class XMLInputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class XMLInputFactory
IllegalArgumentException
public XMLEventAllocator getEventAllocator()
getEventAllocator
in class XMLInputFactory
public void setEventAllocator(XMLEventAllocator eventAllocator)
setEventAllocator
in class XMLInputFactory
public XMLReporter getXMLReporter()
getXMLReporter
in class XMLInputFactory
public void setXMLReporter(XMLReporter xmlReporter)
setXMLReporter
in class XMLInputFactory
public XMLResolver getXMLResolver()
getXMLResolver
in class XMLInputFactory
public void setXMLResolver(XMLResolver xmlResolver)
setXMLResolver
in class XMLInputFactory
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(String systemId, InputStream stream) 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(String systemId, InputStream stream) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(Reader reader, String encoding) throws XMLStreamException
XMLStreamException
public XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
createXMLEventReader
in class XMLInputFactory
XMLStreamException
public XMLEventReader createXMLEventReader(String systemId, Reader reader, String encoding) throws XMLStreamException
XMLStreamException
public XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public XMLStreamReader createXMLStreamReader(Reader reader, String encoding) throws XMLStreamException
XMLStreamException
public XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
createXMLStreamReader
in class XMLInputFactory
XMLStreamException
public 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 abstract XMLStreamReader createXMLStreamReader(String systemId, Reader reader, String encoding) throws XMLStreamException
XMLStreamReader
.systemId
- The system ID of the provided reader, or null
reader
- The character stream from which to construct the StAX stream.encoding
- The underlying encoding of the reader, or null
.XMLStreamReader
.XMLStreamException
- If an error occurs constructing the reader.