Interface ModelConditionFactory

    • Method Detail

      • newInstance

        ModelCondition newInstance​(ModelWidget modelWidget,
                                   Element conditionElement)
        Returns a new ModelCondition instance built from conditionElement.
        Parameters:
        modelWidget - The ModelWidget that contains the Condition instance.
        conditionElement - The XML element used to build the Condition instance.
        Returns:
        A new ModelCondition instance built from conditionElement.
        Throws:
        IllegalArgumentException - if no model was found for the XML element