|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.build.Parser
org.basex.build.mediovis.MAB2Parser
public final class MAB2Parser
This class parses MAB2 data and creates a hierarchical representation.
Field Summary |
---|
Fields inherited from class org.basex.build.Parser |
---|
atts, io |
Constructor Summary | |
---|---|
MAB2Parser(IO fn)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
det()
Returns detailed progress information. |
java.lang.String |
head()
Returns a compact description of the current progress. |
void |
parse(Builder b)
Parses all nodes and sends events to the specified builder. |
double |
prog()
Returns a value from 0 to 1, representing the current progress. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MAB2Parser(IO fn)
fn
- filename of the XML documentMethod Detail |
---|
public void parse(Builder b) throws java.io.IOException
Parser
parse
in class Parser
b
- event listener.
java.io.IOException
- I/O exceptionpublic java.lang.String head()
Parser
head
in class Parser
public java.lang.String det()
Parser
det
in class Parser
public double prog()
Parser
prog
in class Parser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |