org.geotools.filter.text.generated.parsers
Class SimpleNode

Object
  extended by SimpleNode
All Implemented Interfaces:
Node

public class SimpleNode
extends Object
implements Node

Redefines SimpleNode to allow access to additional information to the CQLCompiler Note: set the option BUILD_NODE_FILES=false to avoid that javacc generates a new SimpleNode.

Since:
Author:
Mauricio Pazos (Axios Engineering)
Module:

Field Summary
protected  Node[] children
           
protected  int id
           
protected  Node parent
           
protected  CQLParser parser
           
protected  Token token
           
 
Constructor Summary
SimpleNode(CQLParser p, int i)
           
SimpleNode(int i)
           
 
Method Summary
 void dispose()
           
 void dump(String prefix)
           
 Token getToken()
           
 int getType()
           
 void jjtAddChild(Node n, int i)
           
 void jjtClose()
           
 Node jjtGetChild(int i)
           
 int jjtGetNumChildren()
           
 Node jjtGetParent()
           
 void jjtOpen()
           
 void jjtSetParent(Node n)
           
 String toString()
           
 String toString(String prefix)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected Node parent

children

protected Node[] children

id

protected int id

parser

protected CQLParser parser

token

protected Token token
Constructor Detail

SimpleNode

public SimpleNode(int i)

SimpleNode

public SimpleNode(CQLParser p,
                  int i)
Method Detail

jjtOpen

public void jjtOpen()
Specified by:
jjtOpen in interface Node

jjtClose

public void jjtClose()
Specified by:
jjtClose in interface Node

jjtSetParent

public void jjtSetParent(Node n)
Specified by:
jjtSetParent in interface Node

jjtGetParent

public Node jjtGetParent()
Specified by:
jjtGetParent in interface Node

jjtAddChild

public void jjtAddChild(Node n,
                        int i)
Specified by:
jjtAddChild in interface Node

jjtGetChild

public Node jjtGetChild(int i)
Specified by:
jjtGetChild in interface Node

jjtGetNumChildren

public int jjtGetNumChildren()
Specified by:
jjtGetNumChildren in interface Node

toString

public String toString()
Specified by:
toString in interface Node
Overrides:
toString in class Object

toString

public String toString(String prefix)
Specified by:
toString in interface Node

dump

public void dump(String prefix)
Specified by:
dump in interface Node

getType

public int getType()
Specified by:
getType in interface Node

dispose

public void dispose()
Specified by:
dispose in interface Node

getToken

public Token getToken()
Specified by:
getToken in interface Node


Copyright © 1996-2009 Geotools. All Rights Reserved.