Interface ModelConditionFactory

    • Method Detail

      • newInstance

        ModelCondition newInstance​(ModelWidget modelWidget,
                                   org.w3c.dom.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:
        java.lang.IllegalArgumentException - if no model was found for the XML element