|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.dcat.DcatParserAdaptor
public class DcatParserAdaptor
DCAT parser adaptor.
It allows to wrap DcatParser
parser so instead having 'event paradigm'
based mechanism, an 'iterator paradigm' could be used.
Constructor Summary | |
---|---|
DcatParserAdaptor(DcatParser parser)
Creates instance of the adaptor. |
Method Summary | |
---|---|
void |
close()
Closes adaptor. |
DcatVersion |
getDcatVersion()
Gets parsed DCAT version. |
Iterator<DcatRecord> |
iterator()
|
protected void |
onException(Exception ex)
Called upon parsing exception thrown during iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DcatParserAdaptor(DcatParser parser)
parser
- parserMethod Detail |
---|
public DcatVersion getDcatVersion()
public void close()
It also closes underlying parser. This method is called either by the user of the adaptor or it will be called automatically if iteration reaches the end. Subsequential calls to the method will not case any adverse effects.
protected void onException(Exception ex)
ex
- public Iterator<DcatRecord> iterator()
iterator
in interface Iterable<DcatRecord>
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |