Class ElseIf
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.conditional.ElseIf
-
public final class ElseIf extends MiniLangElement
Implements the <else-if> element.- See Also:
- Mini-language Reference
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description ElseIf(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCondition(MethodContext methodContext)
void
gatherArtifactInfo(ArtifactInfoContext aic)
Updatesaic
with this element's artifact information.java.util.List<MethodOperation>
getThenSubOps()
boolean
runSubOps(MethodContext methodContext)
-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
-
-
-
Constructor Detail
-
ElseIf
public ElseIf(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
-
Method Detail
-
checkCondition
public boolean checkCondition(MethodContext methodContext) throws MiniLangException
- Throws:
MiniLangException
-
gatherArtifactInfo
public void gatherArtifactInfo(ArtifactInfoContext aic)
Description copied from class:MiniLangElement
Updatesaic
with this element's artifact information.- Overrides:
gatherArtifactInfo
in classMiniLangElement
- Parameters:
aic
- The artifact information context
-
getThenSubOps
public java.util.List<MethodOperation> getThenSubOps()
-
runSubOps
public boolean runSubOps(MethodContext methodContext) throws MiniLangException
- Throws:
MiniLangException
-
-