Class JexlSandbox.BlockSet
java.lang.Object
org.apache.commons.jexl3.introspection.JexlSandbox.Names
org.apache.commons.jexl3.introspection.JexlSandbox.BlockSet
- Direct Known Subclasses:
JexlSandbox.BlackSet
- Enclosing class:
- JexlSandbox
A block set of names.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.jexl3.introspection.JexlSandbox.Names
alias
-
Field Details
-
names
The set of controlled names.
-
-
Constructor Details
-
BlockSet
BlockSet()
-
-
Method Details
-
copy
- Overrides:
copy
in classJexlSandbox.Names
- Returns:
- a copy of these Names
-
add
Description copied from class:JexlSandbox.Names
Adds a name to this set.- Specified by:
add
in classJexlSandbox.Names
- Parameters:
name
- the name to add- Returns:
- true if the name was really added, false if not
-
get
Description copied from class:JexlSandbox.Names
Whether a given name is allowed or not.- Overrides:
get
in classJexlSandbox.Names
- Parameters:
name
- the method/property name to check- Returns:
- null (or NULL if name is null) if not allowed, the actual name to use otherwise
-