org.duelengine.duel.ast
Class CALLCommandNode

java.lang.Object
  extended by org.duelengine.duel.ast.DuelNode
      extended by org.duelengine.duel.ast.ContainerNode
          extended by org.duelengine.duel.ast.ElementNode
              extended by org.duelengine.duel.ast.CommandNode
                  extended by org.duelengine.duel.ast.CALLCommandNode

public class CALLCommandNode
extends CommandNode


Field Summary
static String COUNT
           
static String DATA
           
static String DEFER
           
static String EXT_NAME
           
static String INDEX
           
static String KEY
           
static String VIEW
           
 
Constructor Summary
CALLCommandNode(AttributePair[] attr, DuelNode... children)
           
CALLCommandNode(int index, int line, int column)
           
 
Method Summary
 void addAttribute(AttributePair attr)
           
 void appendChild(DuelNode child)
           
 boolean isDefer()
           
 boolean isSelf(String tag)
           
 boolean replaceChild(DuelNode newChild, DuelNode oldChild)
           
 void setAttribute(String name, DuelNode value)
           
 void setDefer(boolean value)
           
 
Methods inherited from class org.duelengine.duel.ast.CommandNode
getCommand
 
Methods inherited from class org.duelengine.duel.ast.ElementNode
canHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isBoolAttribute, isLinkAttribute, mapAttrName, removeAttribute
 
Methods inherited from class org.duelengine.duel.ast.ContainerNode
childCount, getChildren, getFirstChild, getLastChild, hasChildren, removeChild, toString
 
Methods inherited from class org.duelengine.duel.ast.DuelNode
getColumn, getIndex, getLine, getParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EXT_NAME

public static final String EXT_NAME
See Also:
Constant Field Values

VIEW

public static final String VIEW
See Also:
Constant Field Values

DATA

public static final String DATA
See Also:
Constant Field Values

INDEX

public static final String INDEX
See Also:
Constant Field Values

COUNT

public static final String COUNT
See Also:
Constant Field Values

KEY

public static final String KEY
See Also:
Constant Field Values

DEFER

public static final String DEFER
See Also:
Constant Field Values
Constructor Detail

CALLCommandNode

public CALLCommandNode(int index,
                       int line,
                       int column)

CALLCommandNode

public CALLCommandNode(AttributePair[] attr,
                       DuelNode... children)
Method Detail

setDefer

public void setDefer(boolean value)

isDefer

public boolean isDefer()

isSelf

public boolean isSelf(String tag)
Overrides:
isSelf in class ElementNode

addAttribute

public void addAttribute(AttributePair attr)
                  throws NullPointerException
Overrides:
addAttribute in class CommandNode
Throws:
NullPointerException

setAttribute

public void setAttribute(String name,
                         DuelNode value)
Overrides:
setAttribute in class CommandNode

appendChild

public void appendChild(DuelNode child)
Overrides:
appendChild in class ContainerNode

replaceChild

public boolean replaceChild(DuelNode newChild,
                            DuelNode oldChild)
Overrides:
replaceChild in class ContainerNode


Copyright © 2012. All Rights Reserved.