public abstract class GPEXmlParser extends GPEParser
Constructor and Description |
---|
GPEXmlParser() |
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
createInputStream(File file)
Creates an input stream from a file.
|
protected IXmlStreamReader |
getParser() |
protected abstract void |
initParse()
This method start the parse process.
|
protected void |
parseStream()
Parses the file from an input stream
|
protected void |
parseURI()
Parses the file from a URI
|
accept, accept, getContentHandler, getDescription, getErrorHandler, getFormat, getGpeManager, getInputStream, getMainFile, getName, parse, parse, setContentHandler, setErrorHandler, setInputStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProjection
protected void parseStream()
GPEParser
parseStream
in class GPEParser
protected void parseURI()
GPEParser
protected abstract InputStream createInputStream(File file) throws FileNotFoundException
file
- FileNotFoundException
protected abstract void initParse() throws GPEXmlEmptyFileException, XmlStreamException
GPEXmlEmptyFileException
XmlStreamException
protected IXmlStreamReader getParser()