public final class DataBuilder extends Object
Constructor and Description |
---|
DataBuilder(MemData data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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[] nm,
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.
|
public DataBuilder(MemData data)
data
- target datapublic DataBuilder ftpos(byte[] nm, FTPosData pos, int len)
nm
- name of marker elementpos
- full-text position datalen
- length of extractpublic void build(ANode node)
node
- nodepublic void build(ANodeList nodes)
nodes
- node listCopyright © 2005–2015 BaseX Team. All rights reserved.