public class PARTCommandNode extends CommandNode
| Constructor and Description |
|---|
PARTCommandNode(AttributePair[] attr,
DuelNode... children) |
PARTCommandNode(int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(AttributePair attr) |
String |
getName() |
boolean |
isSelf(String tag) |
void |
setAttribute(String attrName,
DuelNode attrValue) |
getCommandcanHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isBoolAttribute, isLinkAttribute, mapAttrName, removeAttributeappendChild, childCount, getChildren, getFirstChild, getLastChild, hasChildren, removeChild, replaceChild, toStringpublic static final String EXT_NAME
public PARTCommandNode(int index,
int line,
int column)
public PARTCommandNode(AttributePair[] attr, DuelNode... children)
public String getName()
public boolean isSelf(String tag)
isSelf in class ElementNodepublic void addAttribute(AttributePair attr) throws NullPointerException
addAttribute in class CommandNodeNullPointerExceptionpublic void setAttribute(String attrName, DuelNode attrValue)
setAttribute in class CommandNodeCopyright © 2014. All rights reserved.