org.basex.data
Class Skeleton.Node

java.lang.Object
  extended by org.basex.data.Skeleton.Node
Enclosing class:
Skeleton

public static final class Skeleton.Node
extends java.lang.Object

Skeleton node.


Field Summary
 Skeleton.Node[] ch
          Children.
 int count
          Tag counter.
 byte kind
          Node kind.
 short name
          Tag/attribute name reference.
 
Method Summary
 void desc(java.util.ArrayList<Skeleton.Node> nodes)
          Recursively adds the node and its descendants to the specified list.
 byte[] token(Data data)
          Returns a readable representation of this node.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final short name
Tag/attribute name reference.


kind

public final byte kind
Node kind.


count

public int count
Tag counter.


ch

public Skeleton.Node[] ch
Children.

Method Detail

desc

public void desc(java.util.ArrayList<Skeleton.Node> nodes)
Recursively adds the node and its descendants to the specified list.

Parameters:
nodes - node list

token

public byte[] token(Data data)
Returns a readable representation of this node.

Parameters:
data - data reference
Returns:
completions

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object