|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.PathNode
public final class PathNode
This class represents a node of the path summary.
Field Summary | |
---|---|
PathNode[] |
ch
Children. |
int |
count
Counter. |
byte |
kind
Node kind, defined in the Data class. |
short |
name
Tag/attribute name reference. |
PathNode |
par
Parent. |
Method Summary | |
---|---|
void |
addDesc(ArrayList<PathNode> nodes)
Recursively adds the node and its descendants to the specified list. |
int |
level()
Returns the level of the path node. |
void |
plan(Data data,
Serializer ser)
Serializes the path node. |
byte[] |
token(Data data)
Returns a readable representation of this node. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final short name
public final byte kind
Data
class.
public int count
public PathNode par
public PathNode[] ch
Method Detail |
---|
public void addDesc(ArrayList<PathNode> nodes)
nodes
- node listpublic byte[] token(Data data)
data
- data reference
public int level()
public void plan(Data data, Serializer ser) throws IOException
data
- data referenceser
- serializer
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |