Package org.zkoss.zk.ui.sys
Class Names
- java.lang.Object
-
- org.zkoss.zk.ui.sys.Names
-
public class Names extends java.lang.Object
Utilities about variable's names.- Author:
- tomyeh
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>
getReservedNames()
Returns a set of readonly reserved words.static boolean
isReserved(java.lang.String name)
Returns whether the specified name is reserved.static boolean
isValid(java.lang.String name)
Returns whether the specified is valid.
-
-
-
Method Detail
-
getReservedNames
public static final java.util.Set<java.lang.String> getReservedNames()
Returns a set of readonly reserved words.
-
isValid
public static final boolean isValid(java.lang.String name)
Returns whether the specified is valid. It also invokesisReserved(java.lang.String)
.
-
isReserved
public static final boolean isReserved(java.lang.String name)
Returns whether the specified name is reserved. If true, you cannot use it in zscript (and EL).
-
-