|
||||||||||
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.SAXWrapper
public final class SAXWrapper
This class parses an XML document with Java's default SAX parser. Note that large file cannot be parsed with the default parser due to entity handling (e.g. the DBLP data).
Field Summary |
---|
Fields inherited from class org.basex.build.Parser |
---|
doc, io, prop |
Constructor Summary | |
---|---|
SAXWrapper(SAXSource s,
Prop pr)
Constructor. |
Method Summary | |
---|---|
String |
det()
Returns short information on this process. |
void |
parse(Builder build)
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 SAXWrapper(SAXSource s, Prop pr)
s
- sax sourcepr
- database propertiesMethod Detail |
---|
public void parse(Builder build) throws IOException
Parser
parse
in class Parser
build
- 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 |