|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jstags.utils.validation.TagsUtils
public class TagsUtils
This class contains a set of utility methods used to work with tags and perform common operations related to them
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
logger
Logger for this class |
Constructor Summary | |
---|---|
TagsUtils()
|
Method Summary | |
---|---|
static boolean |
isELExpression(java.lang.String value)
It determines whether a String is an EL expression or not. |
static boolean |
isValueAvailableAtTranslationTime(java.lang.Object value)
Determines if a certain value is available at translation time or not (in that case, it would be calculated at runtime). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger logger
Constructor Detail |
---|
public TagsUtils()
Method Detail |
---|
public static boolean isELExpression(java.lang.String value)
String
is an EL expression or not. That
is, whether it starts with "${" and ends with "}" or not.
value
- the data to be checked
public static boolean isValueAvailableAtTranslationTime(java.lang.Object value)
TagData.REQUEST_TIME_VALUE
or an EL Expression, its value
would be available only at runtime
value
- Object
representing the attribute value
TagData.REQUEST_TIME_VALUE
TagData.REQUEST_TIME_VALUE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |