protected abstract class WarHandler.BaseXmlParser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected XMLStreamReader |
parser |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseXmlParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(InputStream input) |
protected abstract void |
read(InputStream input)
This method will parse the input stream and set the XMLStreamReader
object for latter use.
|
protected void |
skipRoot(String name) |
protected void |
skipSubTree(String name) |
protected XMLStreamReader parser
protected abstract void read(InputStream input) throws XMLStreamException
input - InputStreamXMLStreamException;XMLStreamExceptionprotected void init(InputStream input) throws XMLStreamException
XMLStreamExceptionprotected void skipRoot(String name) throws XMLStreamException
XMLStreamExceptionprotected void skipSubTree(String name) throws XMLStreamException
XMLStreamExceptionCopyright © 2019. All rights reserved.