|
|||||||||
| 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 |
|---|
file |
| Constructor Summary | |
|---|---|
MAB2Parser(java.lang.String fn)
Constructor. |
|
| Method Summary | |
|---|---|
void |
parse(Builder b)
Parses all nodes and sends events to the specified builder. |
double |
percent()
Returns a value from 0 to 1, representing the current progress. |
java.lang.String |
title()
Returns a compact description of the current progress. |
java.lang.String |
toString()
Returns detailed progress information. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MAB2Parser(java.lang.String fn)
fn - filename of the XML document| Method Detail |
|---|
public void parse(Builder b)
throws java.io.IOException
Parser
parse in class Parserb - event listener.
java.io.IOException - I/O exceptionpublic double percent()
Parser
percent in class Parserpublic java.lang.String title()
Parser
title in class Parserpublic java.lang.String toString()
Parser
toString in class Parser
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||