AST
Class ComplexElement
java.lang.Object
AST.SimpleNode
AST.ASTNode
AST.Element
AST.ComplexElement
- All Implemented Interfaces:
- Node, java.lang.Cloneable
- Direct Known Subclasses:
- Annotation, AnnotationProperty, ClassAssertion, Clazz, DataProperty, DataPropertyDomain, DataPropertyRange, Datatype, Declaration, ExpressionCondition, ExpressionLogicLanguage, ExpressionRefURI, ExprExpressionData, ExprKIFCondition, ListFirst, ListRest, Literal, NamedIndividual, ObjectExactCardinality, ObjectListList, ObjectMinCardinality, ObjectProperty, ObjectPropertyAssertion, ObjectPropertyDomain, ObjectSomeValuesFrom, OClass, OntoDeclaration, OwlAllDifferent, OwlCardinality, OwlClass, OwlDataRange, OwlDisjointWith, OwlDistinctMembers, OwlEquivalentClass, OwlEquivalentProperty, OwlHasValue, OwlImports, OwlIntersectionOf, OwlInverseOf, OwlMaxCardinality, OwlMinCardinality, OwlOneOf, OwlOntology, OwlProperty, OwlRestriction, OwlTransitiveProperty, OwlUnionOf, OwlValuesFrom, OwlVersionInfo, P1AnyOrder, P1Components, P1ComposedOf, P1ControlConstructBag, P1ControlConstructList, P1Else, P1HasInput, P1HasOutput, P1IfCondition, P1IfThenElse, P1Input, P1Output, P1ParameterType, P1Perform, P1Process, P1RepeatUntil, P1Sequence, P1Then, P1UntilCondition, P1UntilProcess, Prefix, ProcessParticipant, ProcessPerform, RdfDescription, RdfFirst, RdfProperty, RdfRest, RdfsComment, RdfsDomain, RdfsLabel, RdfsRange, RdfsSeeAlso, RdfsSubClassOf, RdfsSubPropertyOf, RdfType, SubClassOf
public abstract class ComplexElement
- extends Element
- implements java.lang.Cloneable
| Fields inherited from class AST.ASTNode |
boundariesCrossed, CHANGE, duringRewrites, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, inCircle, isFinal, LAST_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state |
| Methods inherited from class AST.ASTNode |
addChild, copy, duringRewrites, fullCopy, genMisc, genPrettyPrinter, genRewrites, getChild, getChildNoTransform, getIndexOfChild, getParent, getSubClasses, goStart, ind, insertChild, setChild, setParent |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ComplexElement
public ComplexElement(int i)
ComplexElement
public ComplexElement(OwlParser p,
int i)
ComplexElement
public ComplexElement()
ComplexElement
public ComplexElement(List p0,
List p1)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class Element
- Throws:
java.lang.CloneNotSupportedException
dumpTree
public void dumpTree(java.lang.String indent,
java.io.PrintStream pStream)
- Overrides:
dumpTree in class Element
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 Element
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 Element
checkChild
public void checkChild(Node n,
int i)
- Overrides:
checkChild in class Element
getNumChild
public int getNumChild()
- Overrides:
getNumChild in class Element
mayHaveRewrite
public boolean mayHaveRewrite()
- Overrides:
mayHaveRewrite in class Element
setAttributeList
public void setAttributeList(List list)
getNumAttribute
public int getNumAttribute()
getAttribute
public Attribute getAttribute(int i)
addAttribute
public void addAttribute(Attribute node)
setAttribute
public void setAttribute(Attribute node,
int i)
getAttributeList
public List getAttributeList()
getAttributeListNoTransform
public List getAttributeListNoTransform()
setElementList
public void setElementList(List list)
getNumElement
public int getNumElement()
getElement
public Element getElement(int i)
addElement
public void addElement(Element node)
setElement
public void setElement(Element node,
int i)
getElementList
public List getElementList()
getElementListNoTransform
public List getElementListNoTransform()
getId
public java.lang.String getId()
- Overrides:
getId in class Element
rewriteTo
public ASTNode rewriteTo()
- Overrides:
rewriteTo in class Element