public class VIEWCommandNode extends CommandNode
| Constructor and Description |
|---|
VIEWCommandNode(AttributePair[] attr,
DuelNode... children) |
VIEWCommandNode(int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(AttributePair attr) |
String |
getName() |
boolean |
isClientOnly() |
boolean |
isSelf(String tag) |
boolean |
isServerOnly() |
void |
setAttribute(String attrName,
DuelNode attrValue) |
void |
setClientOnly(boolean value) |
void |
setName(String value) |
void |
setServerOnly(boolean value) |
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 VIEWCommandNode(int index,
int line,
int column)
public VIEWCommandNode(AttributePair[] attr, DuelNode... children)
public String getName()
public void setName(String value)
public boolean isClientOnly()
public void setClientOnly(boolean value)
public boolean isServerOnly()
public void setServerOnly(boolean value)
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.