javax.xml.stream.XMLInputFactory and org.codehaus.stax2.XMLInputFactory2 )
as well as API for producing non-blocking (async) parsers
(that is, AsyncXMLInputFactory).
| Modifier and Type | Field and Description |
|---|---|
| protected XMLEventAllocator | |
| pack-priv final ReaderConfig | _config
This is the currently active configuration that will be used for readers created by this factory. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configureForConvenience()
Implements abstract org. |
| public void | configureForLowMemUsage()
Implements abstract org. |
| public void | configureForRoundTripping()
Implements abstract org. |
| public void | configureForSpeed()
Implements abstract org. |
| public void | configureForXmlConformance()
Implements abstract org. |
| public XMLEventReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| protected XMLStreamReader2 | |
| public AsyncXMLStreamReader | createAsyncFor(byte[] input)
Implements abstract com. XMLStreamReader2 instance
with specified initial input data.
|
| public AsyncXMLStreamReader | createAsyncFor(byte[] input, int offset, int length)
Implements abstract com. XMLStreamReader2 instance
with specified initial input data.
|
| public AsyncXMLStreamReader | createAsyncFor(ByteBuffer input)
Implements abstract com. XMLStreamReader2 instance
with specified initial input data.
|
| public AsyncXMLStreamReader | createAsyncForByteArray()
Implements abstract com. XMLStreamReader2 instance
without any input data.
|
| public AsyncXMLStreamReader | createAsyncForByteBuffer()
Implements abstract com. XMLStreamReader2 instance
without any input data.
|
| protected XMLEventAllocator | |
| public XMLEventReader | createFilteredReader(XMLEventReader
the event reader to wrap reader, EventFilter the filter to apply to the event reader filter)Implements abstract javax. |
| public XMLStreamReader | createFilteredReader(XMLStreamReader
the reader to filter reader, StreamFilter the filter to apply to the reader filter)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(InputStream
the InputStream to read from in)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(InputStream
the InputStream to read from in, String the character encoding of the stream enc)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(Reader
the XML data to read from r)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(Source
the source to read from source)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(String
the system ID of the stream systemId, InputStream the InputStream to read from in)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(String
the system ID of the input systemId, Reader the XML data to read from r)Implements abstract javax. |
| public XMLEventReader | createXMLEventReader(XMLStreamReader
the XMLStreamReader to read from (may not be modified) sr)Implements abstract javax. |
| public XMLEventReader2 | createXMLEventReader(URL src)
Implements abstract org. |
| public XMLEventReader2 | createXMLEventReader(File f)
Implements abstract org. |
| public XMLStreamReader | createXMLStreamReader(InputStream
the InputStream to read from in)Implements abstract javax. |
| public XMLStreamReader | createXMLStreamReader(InputStream
the InputStream to read from in, String the character encoding of the stream enc)Implements abstract javax. |
| public XMLStreamReader | createXMLStreamReader(Reader
the XML data to read from r)Implements abstract javax. |
| public XMLStreamReader | createXMLStreamReader(String
the system ID of the stream systemId, Reader the InputStream to read from r)Implements abstract javax. |
| public XMLStreamReader | createXMLStreamReader(Source
the source to read from src)Implements abstract javax. |
| public XMLStreamReader | createXMLStreamReader(String
the system ID of the stream systemId, InputStream the InputStream to read from in)Implements abstract javax. |
| public XMLStreamReader2 | createXMLStreamReader(URL src)
Implements abstract org. |
| public XMLStreamReader2 | createXMLStreamReader(File f)
Implements abstract org. |
| public XMLEventAllocator | getEventAllocator()
Implements abstract javax. |
| public ReaderConfig | getNonSharedConfig(String systemId, String publicId, String extEncoding, boolean forEventReader, boolean forceAutoClose)
Method called when a non-shared copy of the current configuration is needed. |
| public Object | getProperty(String
The name of the property (may not be null) name)Implements abstract javax. |
| public XMLReporter | getXMLReporter()
Implements abstract javax. |
| public XMLResolver | getXMLResolver()
Implements abstract javax. |
| public boolean | isPropertySupported(String
The name of the property (may not be null) name)Implements abstract javax. |
| public void | setEventAllocator(XMLEventAllocator
the user defined allocator allocator)Implements abstract javax. |
| public void | setProperty(String
The name of the property (may not be null) propName, Object The value of the property value)Implements abstract javax. |
| public void | setXMLReporter(XMLReporter
the resolver to use to report non fatal errors r)Implements abstract javax. |
| public void | setXMLResolver(XMLResolver
the resolver to use to resolve references r)Implements abstract javax. |