|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.build.Parser
public abstract class Parser
This is class defines a parser for creating databases from various sources.
Field Summary | |
---|---|
Atts |
atts
Temporary attribute array. |
IO |
io
Input file. |
Constructor Summary | |
---|---|
Parser(IO f)
Constructor. |
Method Summary | |
---|---|
abstract java.lang.String |
det()
Returns detailed progress information. |
abstract java.lang.String |
head()
Returns a compact description of the current progress. |
abstract void |
parse(Builder build)
Parses all nodes and sends events to the specified builder. |
abstract 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 |
Field Detail |
---|
public final Atts atts
public IO io
Constructor Detail |
---|
public Parser(IO f)
f
- file reference.Method Detail |
---|
public abstract void parse(Builder build) throws java.io.IOException
build
- event listener.
java.io.IOException
- I/O exceptionpublic abstract java.lang.String head()
public abstract java.lang.String det()
public abstract double prog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |