Package org.apache.ofbiz.widget.model
Class ModelWidgetCondition.DefaultConditionFactory
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidgetCondition.DefaultConditionFactory
-
- All Implemented Interfaces:
ModelWidgetCondition.ConditionFactory
- Enclosing class:
- ModelWidgetCondition
public static class ModelWidgetCondition.DefaultConditionFactory extends java.lang.Object implements ModelWidgetCondition.ConditionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static ModelWidgetCondition.Condition
FALSE
static ModelWidgetCondition.Condition
TRUE
-
Constructor Summary
Constructors Constructor Description DefaultConditionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelWidgetCondition.Condition
newInstance(ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
Returns a newCondition
instance built fromconditionElement
.
-
-
-
Field Detail
-
TRUE
public static final ModelWidgetCondition.Condition TRUE
-
FALSE
public static final ModelWidgetCondition.Condition FALSE
-
-
Method Detail
-
newInstance
public ModelWidgetCondition.Condition newInstance(ModelWidget modelWidget, org.w3c.dom.Element conditionElement)
Description copied from interface:ModelWidgetCondition.ConditionFactory
Returns a newCondition
instance built fromconditionElement
.- Specified by:
newInstance
in interfaceModelWidgetCondition.ConditionFactory
- Parameters:
modelWidget
- TheModelWidget
that contains theCondition
instance.conditionElement
- The XML element used to build theCondition
instance.- Returns:
- A new
Condition
instance built fromconditionElement
.
-
-