Class ChooseTag
- java.lang.Object
-
- net.sf.jkniv.sqlegance.builder.xml.dynamic.ChooseTag
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneval(Object rootObjects)Evaluate if attribute test is true fromwhenlist tags, the first option is selected.StringgetConditionalText(Object rootObjects)List<? extends ITextTag>getTags()Collections from inner tags (WhereTag,SetTag...)StringgetText()Retrieve the dynamic text from XML element.StringgetText(Object rootObjects)Evaluate if attribute test is true or false with OGNL expression.booleanisDynamic()Indicate if text is dynamic or static.booleanisDynamicGroup()Indicate if text contains a dynamic group of tags like: SetTag and WhereTag.
-
-
-
Field Detail
-
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
eval
public boolean eval(Object rootObjects)
Evaluate if attribute test is true fromwhenlist tags, the first option is selected.
-
getText
public String getText()
Retrieve the dynamic text from XML element.
-
getText
public String getText(Object rootObjects)
Description copied from interface:ITextTagEvaluate if attribute test is true or false with OGNL expression. Something
-
isDynamic
public boolean isDynamic()
Indicate if text is dynamic or static.
-
isDynamicGroup
public boolean isDynamicGroup()
Description copied from interface:ITextTagIndicate if text contains a dynamic group of tags like: SetTag and WhereTag.- Specified by:
isDynamicGroupin interfaceITextTag- Returns:
- true returned if dynamic, false otherwise.
-
-