Class IfTag

  • All Implemented Interfaces:
    ITextTag

    public class IfTag
    extends ConditionalTag
    Represent the if tag from XML file to put dynamic SQLs.
    Since:
    0.0.2
    Author:
    Alisson Gomes
    • Constructor Detail

      • IfTag

        public IfTag​(String ognlExpression,
                     String text)
        Parses the given OGNL expression that can be used by Ognl static methods.
        Parameters:
        ognlExpression - the OGNL expression to be parsed
        text - content of expression to be evaluated
        Throws:
        MalformedExpression - if the expression is malformed or if there is a pathological environmental problem.