Interface ITextTag
-
- All Known Subinterfaces:
AutoGeneratedKey
- All Known Implementing Classes:
ChooseTag,ConditionalTag,IfTag,OtherwiseTag,SetTag,StaticText,WhenTag,WhereTag
public interface ITextTagThe text from node elements at XML file.- Since:
- 0.0.2
- Author:
- Alisson Gomes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleaneval(Object rootObjects)Evaluate if attribute test is true or false with OGNL expression.List<? extends ITextTag>getTags()Collections from inner tags (WhereTag,SetTag...)StringgetText()Retrieve the text from XML element, can be dynamic or static.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.
-
-
-
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.
-
-