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;
XMLStreamException
protected void init(InputStream input) throws XMLStreamException
XMLStreamException
protected void skipRoot(String name) throws XMLStreamException
XMLStreamException
protected void skipSubTree(String name) throws XMLStreamException
XMLStreamException
Copyright © 2021. All rights reserved.