|
|||||||||
| 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.Builder
org.basex.build.MemBuilder
public final class MemBuilder
This class creates a memory based database instance.
| Constructor Summary | |
|---|---|
MemBuilder()
|
|
| Method Summary | |
|---|---|
void |
addNode(int tag,
int par,
byte[][] atr,
int[] attRef,
int type)
Adds a complex node to the database. |
void |
close()
Closes open references. |
MemData |
finish()
Finishes the build process and returns a database instance. |
MemBuilder |
init(java.lang.String db)
Initializes the table construction. |
| Methods inherited from class org.basex.build.Builder |
|---|
build, comment, det, emptyNode, encoding, endNode, head, nodeAndText, pi, prog, startNode, state, text |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemBuilder()
| Method Detail |
|---|
public void addNode(int tag,
int par,
byte[][] atr,
int[] attRef,
int type)
Builder
tag - the token to be added (tag name or content)par - relative parent value (distance)atr - optional attribute tokensattRef - numeric attribute referencestype - node typepublic void close()
Builder
close in class Builderpublic MemData finish()
Builder
public MemBuilder init(java.lang.String db)
Builder
db - name of database
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||