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(File file)
Return if the driver can open the file
|
boolean |
accept(URI uri)
|
protected InputStream |
createInputStream(File file)
|
IXmlStreamReader |
getFileParser() |
String[] |
getFormats()
|
void |
getNext()
|
IBindingProfile |
getProfile() |
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 String[] getFormats()
public boolean accept(URI uri)
accept
in interface IGPEParser
accept
in class GPEParser
URI
- uripublic boolean accept(File file)
GPEParser
protected InputStream createInputStream(File file) throws FileNotFoundException
createInputStream
in class GPEXmlParser
File
- fileFileNotFoundException
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 String getProjection()