org.jpox.query.node
Class Node

java.lang.Object
  extended by org.jpox.query.node.Node

public class Node
extends java.lang.Object


Field Summary
 java.util.List childNodes
           
static int CREATOR
          creator
static int IDENTIFIER
          identifier
static int INVOKE
          invoke, such as method invocation
static int LITERAL
          literal
static int NAME
          type name
 int nodeType
           
 java.lang.Object nodeValue
           
static int OPERATOR
          operator
 Node parent
           
 Symbol symbol
           
 
Constructor Summary
Node(int nodeType)
           
Node(int nodeType, java.lang.Object nodeValue)
           
 
Method Summary
 Node appendChildNode(Node node)
           
 Node[] appendChildNode(Node[] node)
           
 Node[][] appendChildNode(Node[][] node)
           
 Node getChildNode(int index)
           
 java.util.List getChildNodes()
           
 Node getFirstChild()
           
 Node getNextChild()
           
 java.lang.String getNodeChildId()
           
 java.lang.String getNodeId()
           
 int getNodeType()
           
 java.lang.Object getNodeValue()
           
 Node getParent()
           
 Symbol getSymbol()
           
 boolean hasNextChild()
           
 Node insertChildNode(Node node)
           
 void setParent(Node parent)
           
 void setSymbol(Symbol symbol)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LITERAL

public static final int LITERAL
literal

See Also:
Constant Field Values

INVOKE

public static final int INVOKE
invoke, such as method invocation

See Also:
Constant Field Values

NAME

public static final int NAME
type name

See Also:
Constant Field Values

IDENTIFIER

public static final int IDENTIFIER
identifier

See Also:
Constant Field Values

OPERATOR

public static final int OPERATOR
operator

See Also:
Constant Field Values

CREATOR

public static final int CREATOR
creator

See Also:
Constant Field Values

nodeType

public int nodeType

nodeValue

public java.lang.Object nodeValue

childNodes

public java.util.List childNodes

parent

public Node parent

symbol

public Symbol symbol
Constructor Detail

Node

public Node(int nodeType)

Node

public Node(int nodeType,
            java.lang.Object nodeValue)
Method Detail

getNodeType

public int getNodeType()

getNodeValue

public java.lang.Object getNodeValue()

getChildNodes

public java.util.List getChildNodes()

insertChildNode

public Node insertChildNode(Node node)

appendChildNode

public Node appendChildNode(Node node)

appendChildNode

public Node[] appendChildNode(Node[] node)

appendChildNode

public Node[][] appendChildNode(Node[][] node)

getChildNode

public Node getChildNode(int index)

getFirstChild

public Node getFirstChild()

getNextChild

public Node getNextChild()

hasNextChild

public boolean hasNextChild()

toString

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

getSymbol

public Symbol getSymbol()

setSymbol

public void setSymbol(Symbol symbol)

setParent

public void setParent(Node parent)

getParent

public Node getParent()

getNodeId

public java.lang.String getNodeId()

getNodeChildId

public java.lang.String getNodeChildId()


Copyright © -2008 . All Rights Reserved.