Class IfTag
- java.lang.Object
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.ConditionalTag
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.IfTag
-
- All Implemented Interfaces:
ITextTag
public class IfTag extends ConditionalTag
Represent theiftag from XML file to put dynamic SQLs.- Since:
- 0.0.2
- Author:
- Alisson Gomes
-
-
Field Summary
Fields Modifier and Type Field Description static StringTAG_NAME-
Fields inherited from class net.sf.jkniv.sqlegance.builder.xml.dynamic.ConditionalTag
ATTRIBUTE_TEST
-
-
-
-
Field Detail
-
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
-
-
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 parsedtext- content of expression to be evaluated- Throws:
MalformedExpression- if the expression is malformed or if there is a pathological environmental problem.
-
-