public abstract class CommandNode extends ElementNode
| Modifier | Constructor and Description |
|---|---|
protected |
CommandNode(CommandName cmd,
String name,
boolean codeAttrs,
AttributePair[] attr,
DuelNode... children) |
protected |
CommandNode(CommandName cmd,
String name,
boolean codeAttrs,
int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(AttributePair attr) |
CommandName |
getCommand() |
void |
setAttribute(String name,
DuelNode value) |
canHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isBoolAttribute, isLinkAttribute, isSelf, mapAttrName, removeAttributeappendChild, childCount, getChildren, getFirstChild, getLastChild, hasChildren, removeChild, replaceChild, toStringprotected CommandNode(CommandName cmd, String name, boolean codeAttrs, int index, int line, int column)
protected CommandNode(CommandName cmd, String name, boolean codeAttrs, AttributePair[] attr, DuelNode... children)
public CommandName getCommand()
public void addAttribute(AttributePair attr) throws NullPointerException
addAttribute in class ElementNodeNullPointerExceptionpublic void setAttribute(String name, DuelNode value)
setAttribute in class ElementNodeCopyright © 2014. All rights reserved.