public abstract class GPEDefaultGmlParser extends GPEXmlParser
Modifier and Type | Field and Description |
---|---|
protected QNameComparator |
qNameComparator |
Constructor and Description |
---|
GPEDefaultGmlParser()
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
Return if the driver can open the file
|
boolean |
accept(java.net.URI uri)
|
protected java.io.InputStream |
createInputStream(java.io.File file)
|
IXmlStreamReader |
getFileParser() |
java.lang.String[] |
getFormats()
|
void |
getNext()
|
IBindingProfile |
getProfile() |
java.lang.String |
getProjection()
gets the default parser projection
|
QNameComparator |
getQNameComparator()
Utility method just to access to the QName comparator
|
protected void |
initParse()
|
protected void |
setProfile(IBindingProfile profile) |
getParser, parseStream, parseURI
getContentHandler, getDescription, getErrorHandler, getFormat, getGpeManager, getInputStream, getMainFile, getName, parse, parse, setContentHandler, setErrorHandler, setInputStream
protected QNameComparator qNameComparator
public java.lang.String[] getFormats()
public boolean accept(java.net.URI uri)
accept
in interface IGPEParser
accept
in class GPEParser
URI
- uripublic boolean accept(java.io.File file)
GPEParser
protected java.io.InputStream createInputStream(java.io.File file) throws java.io.FileNotFoundException
createInputStream
in class GPEXmlParser
File
- filejava.io.FileNotFoundException
protected void initParse() throws GPEXmlEmptyFileException, XmlStreamException
initParse
in class GPEXmlParser
XmlStreamException
GPEXmlEmptyFileException
public IXmlStreamReader getFileParser()
public void getNext()
protected void setProfile(IBindingProfile profile)
profile
- the profile to setpublic IBindingProfile getProfile()
public QNameComparator getQNameComparator()
public java.lang.String getProjection()