AST
Class Element

java.lang.Object
  extended by AST.SimpleNode
      extended by AST.ASTNode<ASTNode>
          extended by AST.Element
All Implemented Interfaces:
Node, java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
ComplexElement, DiscardedElement, SimpleElement

public abstract class Element
extends ASTNode<ASTNode>
implements java.lang.Cloneable


Field Summary
protected  boolean getId_computed
           
protected  java.lang.String getId_value
           
protected  int getId_visited
           
protected  int iri_visited
           
protected  int isClass_visited
           
protected  int isIndividual_visited
           
protected  int name_visited
           
protected  boolean range_computed
           
protected  RdfsRange range_value
           
protected  int range_visited
           
protected  boolean type_computed
           
protected  java.lang.String type_value
           
protected  int type_visited
           
 
Fields inherited from class AST.ASTNode
boundariesCrossed, CHANGE, CIRCLE_INDEX, duringRewrites, findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, IN_CIRCLE, in$Circle, is$Final, LAST_CYCLE, RESET_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state
 
Fields inherited from class AST.SimpleNode
children, id, parent, parser
 
Constructor Summary
Element()
           
Element(int i)
           
Element(OwlParser p, int i)
           
 
Method Summary
 void checkChild(Node n, int i)
           
 Element clone()
           
 void dumpTree(java.lang.String indent, java.io.PrintStream pStream)
           
 void flushCache()
           
 java.lang.String getId()
           
 int getNumChild()
           
 Attribute iri()
           
 boolean isClass()
           
 boolean isIndividual()
           
 java.lang.Object jjtAccept(OwlParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void jjtAddChild(Node n, int i)
          This method tells the node to add its argument to the node's list of children.
 boolean mayHaveRewrite()
           
 java.lang.String name()
           
 RdfsRange range()
           
 ASTNode rewriteTo()
           
 java.lang.String type()
           
 
Methods inherited from class AST.ASTNode
addChild, copy, duringRewrites, findDecl, fullCopy, genMisc, genPrettyPrinter, genRewrites, getChild, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, getSuperClass, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Final, is$Final, iterator, removeChild, reset, setChild, setGrammarName, setParent
 
Methods inherited from class AST.SimpleNode
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

iri_visited

protected int iri_visited

name_visited

protected int name_visited

getId_visited

protected int getId_visited

getId_computed

protected boolean getId_computed

getId_value

protected java.lang.String getId_value

type_visited

protected int type_visited

type_computed

protected boolean type_computed

type_value

protected java.lang.String type_value

isClass_visited

protected int isClass_visited

isIndividual_visited

protected int isIndividual_visited

range_visited

protected int range_visited

range_computed

protected boolean range_computed

range_value

protected RdfsRange range_value
Constructor Detail

Element

public Element(int i)

Element

public Element(OwlParser p,
               int i)

Element

public Element()
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class ASTNode<ASTNode>

clone

public Element clone()
              throws java.lang.CloneNotSupportedException
Overrides:
clone in class ASTNode<ASTNode>
Throws:
java.lang.CloneNotSupportedException

dumpTree

public void dumpTree(java.lang.String indent,
                     java.io.PrintStream pStream)
Overrides:
dumpTree in class ASTNode<ASTNode>

jjtAccept

public java.lang.Object jjtAccept(OwlParserVisitor visitor,
                                  java.lang.Object data)
Description copied from class: SimpleNode
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class ASTNode<ASTNode>

jjtAddChild

public void jjtAddChild(Node n,
                        int i)
Description copied from interface: Node
This method tells the node to add its argument to the node's list of children.

Specified by:
jjtAddChild in interface Node
Overrides:
jjtAddChild in class ASTNode<ASTNode>

checkChild

public void checkChild(Node n,
                       int i)
Overrides:
checkChild in class ASTNode<ASTNode>

getNumChild

public int getNumChild()
Overrides:
getNumChild in class ASTNode<ASTNode>

mayHaveRewrite

public boolean mayHaveRewrite()
Overrides:
mayHaveRewrite in class ASTNode<ASTNode>

iri

public Attribute iri()

name

public java.lang.String name()

getId

public java.lang.String getId()

type

public java.lang.String type()

isClass

public boolean isClass()

isIndividual

public boolean isIndividual()

range

public RdfsRange range()

rewriteTo

public ASTNode rewriteTo()
Overrides:
rewriteTo in class ASTNode<ASTNode>