Class ConditionalFactory<C extends Conditional>
java.lang.Object
org.apache.ofbiz.minilang.method.conditional.ConditionalFactory<C>
- Direct Known Subclasses:
CombinedCondition.AndConditionFactory
,CombinedCondition.NotConditionFactory
,CombinedCondition.OrConditionFactory
,CombinedCondition.XorConditionFactory
,CompareCondition.CompareConditionFactory
,CompareFieldCondition.CompareFieldConditionFactory
,EmptyCondition.EmptyConditionFactory
,HasPermissionCondition.HasPermissionConditionFactory
,RegexpCondition.RegexpConditionFactory
,ValidateMethodCondition.ValidateMethodConditionFactory
An abstract factory class for creating <if> element sub-element implementations.
Mini-language can be extended to support additional condition elements by extending this class to provide custom conditional element implementations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
createCondition
(Element element, SimpleMethod simpleMethod) abstract String
getName()
static Conditional
makeConditional
(Element element, SimpleMethod simpleMethod)
-
Constructor Details
-
ConditionalFactory
public ConditionalFactory()
-
-
Method Details
-
makeConditional
public static Conditional makeConditional(Element element, SimpleMethod simpleMethod) throws MiniLangException - Throws:
MiniLangException
-
createCondition
public abstract C createCondition(Element element, SimpleMethod simpleMethod) throws MiniLangException - Throws:
MiniLangException
-
getName
-