Package | Description |
---|---|
org.codehaus.stax2 | |
org.codehaus.stax2.ri |
Package that contains a skeletal reference implementation of Stax2 API,
as well as some utility/helper classes that can be useful in building
one.
|
org.codehaus.stax2.ri.evt |
Modifier and Type | Method and Description |
---|---|
abstract XMLEventReader2 |
XMLInputFactory2.createXMLEventReader(File f)
Convenience factory method that allows for parsing a document
stored in the specified file.
|
abstract XMLEventReader2 |
XMLInputFactory2.createXMLEventReader(URL src)
Factory method that allows for parsing a document accessible via
specified URL.
|
Modifier and Type | Class and Description |
---|---|
class |
Stax2EventReaderImpl
Almost complete implementation of
XMLEventReader2 , built on top of
a generic XMLStreamReader implementation (using aggregation). |
Modifier and Type | Class and Description |
---|---|
class |
Stax2EventReaderAdapter
This adapter implements parts of
XMLEventReader2 , the
extended stream reader defined by Stax2 extension, by wrapping
a vanilla Stax 1.0 XMLEventReader implementation. |
class |
Stax2FilteredEventReader
Some notes about implemention:
There is no way to filter out values of peek(), so we'll just straight
dispatch the call to underlying reader
|
Modifier and Type | Method and Description |
---|---|
static XMLEventReader2 |
Stax2EventReaderAdapter.wrapIfNecessary(XMLEventReader er)
Method that should be used to add dynamic support for
XMLEventReader2 . |
Constructor and Description |
---|
Stax2FilteredEventReader(XMLEventReader2 r,
EventFilter f) |
Copyright © 2015 fasterxml.com. All Rights Reserved.