Package org.apache.el.util
Class Validation
- java.lang.Object
-
- org.apache.el.util.Validation
-
public class Validation extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isIdentifier(java.lang.String key)
Test whether a string is a Java identifier.
-
-
-
Method Detail
-
isIdentifier
public static boolean isIdentifier(java.lang.String key)
Test whether a string is a Java identifier. Note that the behaviour of this method depend on the system propertyorg.apache.el.parser.SKIP_IDENTIFIER_CHECK
- Parameters:
key
- The string to test- Returns:
true
if the provided String should be treated as a Java identifier, otherwise false
-
-