|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Progress
org.basex.build.Parser
org.basex.build.xml.DOCWrapper
public final class DOCWrapper
This class parses an XML document via a conventional SAX parser. Would be the easiest solution, but some large file cannot be parsed with the default parser.
Field Summary |
---|
Fields inherited from class org.basex.build.Parser |
---|
doc, io, prop |
Constructor Summary | |
---|---|
DOCWrapper(Document d,
String fn,
Prop pr)
Constructor. |
Method Summary | |
---|---|
String |
det()
Returns short information on this process. |
void |
parse(Builder builder)
Parses all nodes and sends events to the specified builder. |
double |
prog()
Returns progress information. |
String |
tit()
Returns short information on this process. |
Methods inherited from class org.basex.build.Parser |
---|
emptyParser, xmlParser |
Methods inherited from class org.basex.core.Progress |
---|
abort, checkStop, detail, progress, progress, stop, title |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOCWrapper(Document d, String fn, Prop pr)
d
- document instancefn
- filenamepr
- database propertiesMethod Detail |
---|
public void parse(Builder builder) throws IOException
Parser
parse
in class Parser
builder
- database builder
IOException
- I/O exceptionpublic String tit()
Progress
tit
in class Progress
public String det()
Progress
det
in class Progress
public double prog()
Progress
prog
in class Progress
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |