|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.DataBuilder
public final class DataBuilder
Class for building memory-based database nodes.
Constructor Summary | |
---|---|
DataBuilder(MemData md)
Constructor. |
Method Summary | |
---|---|
void |
build(ANode node)
Fills the data instance with the specified node. |
void |
build(ANodeList nodes)
Fills the data instance with the specified nodes. |
DataBuilder |
ftpos(byte[] tag,
FTPosData pos,
int len)
Attaches full-text position data. |
static ANode |
stripNS(ANode node,
byte[] ns,
Context ctx)
Returns a new node without the specified namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataBuilder(MemData md)
md
- target dataMethod Detail |
---|
public DataBuilder ftpos(byte[] tag, FTPosData pos, int len)
tag
- name of marker tagpos
- full-text position datalen
- length of extract
public void build(ANode node)
node
- nodepublic void build(ANodeList nodes)
nodes
- node listpublic static ANode stripNS(ANode node, byte[] ns, Context ctx)
node
- node to be copiedns
- namespace to be strippedctx
- database context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |