aspoev.interpreter.base
Class ConditionalElement

java.lang.Object
  extended byaspoev.interpreter.base.Element
      extended byaspoev.interpreter.base.ConditionalElement
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable

public class ConditionalElement
extends Element
implements pJ.jasmine.PRI

See Also:
Serialized Form

Field Summary
protected  BooleanValuedElement expression
           
 
Fields inherited from class aspoev.interpreter.base.Element
parent
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
ConditionalElement(BooleanValuedElement expression)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean evaluate()
           
protected  java.lang.Object executeElement()
           
 java.util.Collection getChildrenByType(java.lang.Class childClass)
           
 java.lang.String getCodeString()
           
 
Methods inherited from class aspoev.interpreter.base.Element
execute, getRValue, persist, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

protected BooleanValuedElement expression
Constructor Detail

ConditionalElement

public ConditionalElement(BooleanValuedElement expression)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in class Element

executeElement

protected java.lang.Object executeElement()
Specified by:
executeElement in class Element

evaluate

public boolean evaluate()

getChildrenByType

public java.util.Collection getChildrenByType(java.lang.Class childClass)
Specified by:
getChildrenByType in class Element

getCodeString

public java.lang.String getCodeString()
Specified by:
getCodeString in class Element