|
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.DcatParser
public class DcatParser
DCAT parser.
Nested Class Summary | |
---|---|
static interface |
DcatParser.LimitPolicy
Limit policy. |
static interface |
DcatParser.Listener
Record listener. |
Constructor Summary | |
---|---|
DcatParser(InputStream input)
Creates instance of the parser. |
|
DcatParser(Reader reader)
Creates instance of the parser. |
Method Summary | |
---|---|
void |
close()
Closes parser. |
DcatVersion |
getDcatVersion()
Gets parsed DCAT version. |
DcatRecordList |
parse(DcatParser.LimitPolicy policy)
Parses data (DOM building style). |
void |
parse(DcatParser.Listener listener)
Parses data (event driven style). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DcatParser(InputStream input) throws IOException
input
- input stream to parse
IOException
- if error reading streampublic DcatParser(Reader reader)
reader
- data readerMethod Detail |
---|
public DcatVersion getDcatVersion()
public void close() throws IOException
IOException
- if error closing readerpublic void parse(DcatParser.Listener listener) throws DcatParseException, IOException
listener
- event listener
DcatParseException
- if parsing fails
IOException
- if error reading streampublic DcatRecordList parse(DcatParser.LimitPolicy policy) throws DcatParseException, IOException
policy
- limit policy
DcatParseException
- if parsing fails
IOException
- if error reading stream
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |