Class OtherwiseTag
- java.lang.Object
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.ConditionalTag
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.WhenTag
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.OtherwiseTag
-
-
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
-
-
Constructor Summary
Constructors Constructor Description OtherwiseTag(String text)Parses the given OGNL expression that can be used by Ognl static methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneval(Object rootObjects)This node always return true.-
Methods inherited from class net.sf.jkniv.sqlegance.builder.xml.dynamic.ConditionalTag
getTags, getText, getText, isDynamic, isDynamicGroup, toString
-
-
-
-
Field Detail
-
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OtherwiseTag
public OtherwiseTag(String text)
Parses the given OGNL expression that can be used by Ognl static methods.- Parameters:
text- the OGNL expression to be parsed- Throws:
MalformedExpression- if the expression is malformed or if there is a pathological environmental problem.
-
-
Method Detail
-
eval
public boolean eval(Object rootObjects)
This node always return true.- Specified by:
evalin interfaceITextTag- Overrides:
evalin classConditionalTag- Parameters:
rootObjects- the root object for the OGNL expression.- Returns:
- return true always.
- See Also:
Ognl
-
-