Interface ITextTag

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean eval​(Object rootObjects)
      Evaluate if attribute test is true or false with OGNL expression.
      List<? extends ITextTag> getTags()
      Collections from inner tags (WhereTag, SetTag...)
      String getText()
      Retrieve the text from XML element, can be dynamic or static.
      String getText​(Object rootObjects)
      Evaluate if attribute test is true or false with OGNL expression.
      boolean isDynamic()
      Indicate if text is dynamic or static.
      boolean isDynamicGroup()
      Indicate if text contains a dynamic group of tags like: SetTag and WhereTag.
    • Method Detail

      • eval

        boolean eval​(Object rootObjects)
        Evaluate if attribute test is true or false with OGNL expression. Something
        Parameters:
        rootObjects - the root object for the OGNL expression.
        Returns:
        true at expression is true, false otherwise.
        Throws:
        MalformedExpression - if the expression is malformed.
        See Also:
        Ognl
      • getText

        String getText()
        Retrieve the text from XML element, can be dynamic or static.
        Returns:
        the text (dynamic or static) from XML element
      • getText

        String getText​(Object rootObjects)
        Evaluate if attribute test is true or false with OGNL expression. Something
        Parameters:
        rootObjects - the root object for the OGNL expression.
        Returns:
        dynamic value evaluating rootObjects.
        Throws:
        MalformedExpression - if the expression is malformed.
        See Also:
        Ognl
      • isDynamic

        boolean isDynamic()
        Indicate if text is dynamic or static.
        Returns:
        true returned if dynamic, false otherwise.
      • isDynamicGroup

        boolean isDynamicGroup()
        Indicate if text contains a dynamic group of tags like: SetTag and WhereTag.
        Returns:
        true returned if dynamic, false otherwise.
      • getTags

        List<? extends ITextTag> getTags()
        Collections from inner tags (WhereTag, SetTag...)
        Returns:
        inner tags, empty list if tag doesn't store collection.