|
||||||||||
| 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.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 |
|---|
atts, io |
| Constructor Summary | |
|---|---|
SAXWrapper(javax.xml.transform.sax.SAXSource s)
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 build)
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 SAXWrapper(javax.xml.transform.sax.SAXSource s)
s - sax source| Method Detail |
|---|
public void parse(Builder build)
throws java.io.IOException
Parser
parse in class Parserbuild - event listener.
java.io.IOException - I/O exceptionpublic java.lang.String head()
Parser
head in class Parserpublic java.lang.String det()
Parser
det in class Parserpublic double prog()
Parser
prog in class Parser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||