| Constructor and Description |
|---|
DiskBuilder(java.lang.String nm,
Parser parse,
Context ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts a failed or interrupted progress.
|
protected void |
addAttr(int nm,
byte[] value,
int dist,
int uri)
Adds an attribute to the database.
|
protected void |
addDoc(byte[] value)
Adds a document node to the database.
|
protected void |
addElem(int dist,
int nm,
int asize,
int uri,
boolean ne)
Adds an element node to the database.
|
protected void |
addText(byte[] value,
int dist,
byte kind)
Adds a text node to the database.
|
DiskData |
build()
Builds the database by running the specified parser.
|
void |
close()
Closes open references.
|
protected void |
setSize(int pre,
int size)
Stores a size value to the specified table position.
|
comment, det, emptyElem, encoding, endDoc, endElem, pi, prog, startDoc, startElem, startNS, text, titcheckStop, detail, progress, progress, startTimeout, stop, stopTimeout, titlepublic DiskData build() throws java.io.IOException
Builderpublic void abort()
Progresspublic void close()
throws java.io.IOException
Builderprotected void addDoc(byte[] value)
throws java.io.IOException
Builderprotected void addElem(int dist,
int nm,
int asize,
int uri,
boolean ne)
throws java.io.IOException
BuilderBuilder.setSize(int, int) must
be called to set the final size value.protected void addAttr(int nm,
byte[] value,
int dist,
int uri)
throws java.io.IOException
Builderprotected void addText(byte[] value,
int dist,
byte kind)
throws java.io.IOException
Builderprotected void setSize(int pre,
int size)
throws java.io.IOException
Builder