findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, in$Circle, is$Final, numChildren, statechildren, id, parent, parser| Constructor and Description |
|---|
XmlHeader() |
XmlHeader(int i) |
XmlHeader(List<Attribute> p0) |
XmlHeader(OwlParser p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Attribute node)
Append an element to the Attribute list.
|
void |
addAttributeNoTransform(Attribute node) |
void |
checkChild(Node n,
int i) |
XmlHeader |
clone() |
XmlHeader |
copy() |
void |
dumpTree(java.lang.String indent,
java.io.PrintStream out) |
void |
flushAttrCache() |
void |
flushCollectionCache() |
void |
flushRewriteCache() |
XmlHeader |
fullCopy()
Deprecated.
Please use emitTreeCopy or emitTreeCopyNoTransform instead
|
Attribute |
getAttribute(int i)
Retrieves the element at index
i in the Attribute list. |
List<Attribute> |
getAttributeList()
Retrieves the Attribute list.
|
List<Attribute> |
getAttributeListNoTransform()
Retrieves the Attribute list.
|
List<Attribute> |
getAttributes()
Retrieves the Attribute list.
|
List<Attribute> |
getAttributesNoTransform()
Retrieves the Attribute list.
|
int |
getNumAttribute()
Retrieves the number of children in the Attribute list.
|
int |
getNumAttributeNoTransform()
Retrieves the number of children in the Attribute list.
|
int |
getNumChild() |
boolean |
hasAttribute()
Check whether the Attribute list has any children.
|
void |
init$Children()
Initializes the child array to the correct size.
|
protected boolean |
is$Equal(ASTNode node) |
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() |
ASTNode |
rewriteTo() |
void |
setAttribute(Attribute node,
int i)
Replaces the Attribute list element at index
i with the new node node. |
void |
setAttributeList(List<Attribute> list)
Replaces the Attribute list.
|
XmlHeader |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
XmlHeader |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
addChild, doFullTraversal, duringRewriteClasses, findDecl, flushCache, flushTreeCache, genMisc, genPrettyPrinter, genRewrites, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, getSuperClass, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Equal, is$Final, is$Final, iterator, numChildren, removeChild, setChild, setGrammarName, setParent, statechildrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toStringpublic XmlHeader(int i)
public XmlHeader(OwlParser p, int i)
public XmlHeader()
public void init$Children()
init$Children in class ASTNode<ASTNode>public void dumpTree(java.lang.String indent,
java.io.PrintStream out)
public java.lang.Object jjtAccept(OwlParserVisitor visitor, java.lang.Object data)
SimpleNodepublic void jjtAddChild(Node n, int i)
NodejjtAddChild in interface NodejjtAddChild in class ASTNode<ASTNode>public void checkChild(Node n, int i)
checkChild in class ASTNode<ASTNode>public int getNumChild()
getNumChild in class ASTNode<ASTNode>public boolean mayHaveRewrite()
mayHaveRewrite in class ASTNode<ASTNode>public void flushAttrCache()
flushAttrCache in class ASTNode<ASTNode>public void flushCollectionCache()
flushCollectionCache in class ASTNode<ASTNode>public void flushRewriteCache()
flushRewriteCache in class ASTNode<ASTNode>public XmlHeader clone() throws java.lang.CloneNotSupportedException
public XmlHeader fullCopy()
public XmlHeader treeCopyNoTransform()
treeCopyNoTransform in class ASTNode<ASTNode>public XmlHeader treeCopy()
public void setAttributeList(List<Attribute> list)
list - The new list node to be used as the Attribute list.public int getNumAttribute()
public int getNumAttributeNoTransform()
public Attribute getAttribute(int i)
i in the Attribute list.i - Index of the element to return.i in the Attribute list.public boolean hasAttribute()
true if it has at least one child, false otherwise.public void addAttribute(Attribute node)
node - The element to append to the Attribute list.public void addAttributeNoTransform(Attribute node)
public void setAttribute(Attribute node, int i)
i with the new node node.node - The new node to replace the old list element.i - The list index of the node to be replaced.@ASTNodeAnnotation.ListChild(name="Attribute") public List<Attribute> getAttributeList()
public List<Attribute> getAttributeListNoTransform()
This method does not invoke AST transformations.
public List<Attribute> getAttributes()
public List<Attribute> getAttributesNoTransform()
This method does not invoke AST transformations.