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, newInstanceprotected XMLEventAllocator eventAllocator
protected XMLReporter xmlReporter
protected XMLResolver xmlResolver
public Object getProperty(String name) throws IllegalArgumentException
getProperty in class XMLInputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class XMLInputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLInputFactoryIllegalArgumentExceptionpublic XMLEventAllocator getEventAllocator()
getEventAllocator in class XMLInputFactorypublic void setEventAllocator(XMLEventAllocator eventAllocator)
setEventAllocator in class XMLInputFactorypublic XMLReporter getXMLReporter()
getXMLReporter in class XMLInputFactorypublic void setXMLReporter(XMLReporter xmlReporter)
setXMLReporter in class XMLInputFactorypublic XMLResolver getXMLResolver()
getXMLResolver in class XMLInputFactorypublic void setXMLResolver(XMLResolver xmlResolver)
setXMLResolver in class XMLInputFactorypublic XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Reader reader, String encoding) throws XMLStreamException
XMLStreamExceptionpublic XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, Reader reader, String encoding) throws XMLStreamException
XMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Reader reader, String encoding) throws XMLStreamException
XMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryXMLStreamExceptionpublic abstract XMLStreamReader createXMLStreamReader(String systemId, Reader reader, String encoding) throws XMLStreamException
XMLStreamReader.systemId - The system ID of the provided reader, or nullreader - 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.Copyright © 2024. All rights reserved.