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, parseURIgetContentHandler, getDescription, getErrorHandler, getFormat, getGpeManager, getInputStream, getMainFile, getName, parse, parse, setContentHandler, setErrorHandler, setInputStreamprotected QNameComparator qNameComparator
public String[] getFormats()
public boolean accept(URI uri)
accept in interface IGPEParseraccept in class GPEParserURI - uripublic boolean accept(File file)
GPEParserprotected InputStream createInputStream(File file) throws FileNotFoundException
createInputStream in class GPEXmlParserFile - fileFileNotFoundExceptionprotected void initParse()
throws GPEXmlEmptyFileException,
XmlStreamException
initParse in class GPEXmlParserXmlStreamExceptionGPEXmlEmptyFileExceptionpublic IXmlStreamReader getFileParser()
public void getNext()
protected void setProfile(IBindingProfile profile)
profile - the profile to setpublic IBindingProfile getProfile()
public QNameComparator getQNameComparator()
public String getProjection()