org.ofbiz.minilang.method.conditional
Class ElseIf

java.lang.Object
  extended by org.ofbiz.minilang.method.conditional.ElseIf

public class ElseIf
extends java.lang.Object

Implements the else-if alternate execution element.


Field Summary
protected  Conditional condition
           
protected  java.util.List<MethodOperation> thenSubOps
           
 
Constructor Summary
ElseIf(org.w3c.dom.Element element, SimpleMethod simpleMethod)
           
 
Method Summary
 boolean checkCondition(MethodContext methodContext)
           
 java.util.List<MethodOperation> getThenSubOps()
           
 boolean runSubOps(MethodContext methodContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

condition

protected Conditional condition

thenSubOps

protected java.util.List<MethodOperation> thenSubOps
Constructor Detail

ElseIf

public ElseIf(org.w3c.dom.Element element,
              SimpleMethod simpleMethod)
Method Detail

getThenSubOps

public java.util.List<MethodOperation> getThenSubOps()

checkCondition

public boolean checkCondition(MethodContext methodContext)

runSubOps

public boolean runSubOps(MethodContext methodContext)