Package com.sun.enterprise.glassfish.web
Class WarHandler.BaseXmlParser
- java.lang.Object
-
- com.sun.enterprise.glassfish.web.WarHandler.BaseXmlParser
-
- Direct Known Subclasses:
WarHandler.ContextXmlParser,WarHandler.WebXmlParser
- Enclosing class:
- WarHandler
protected abstract class WarHandler.BaseXmlParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected XMLStreamReaderparser
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseXmlParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidinit(InputStream input)protected abstract voidread(InputStream input)This method will parse the input stream and set the XMLStreamReader object for latter use.protected voidskipRoot(String name)protected voidskipSubTree(String name)
-
-
-
Field Detail
-
parser
protected XMLStreamReader parser
-
-
Method Detail
-
read
protected abstract void read(InputStream input) throws XMLStreamException
This method will parse the input stream and set the XMLStreamReader object for latter use.- Parameters:
input- InputStream- Throws:
XMLStreamException
-
init
protected void init(InputStream input) throws XMLStreamException
- Throws:
XMLStreamException
-
skipRoot
protected void skipRoot(String name) throws XMLStreamException
- Throws:
XMLStreamException
-
skipSubTree
protected void skipSubTree(String name) throws XMLStreamException
- Throws:
XMLStreamException
-
-