|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl3.introspection.JexlSandbox.Names
org.apache.commons.jexl3.introspection.JexlSandbox.WhiteSet
public static final class JexlSandbox.WhiteSet
A white set of names.
| Constructor Summary | |
|---|---|
JexlSandbox.WhiteSet()
|
|
| Method Summary | |
|---|---|
boolean |
add(String name)
Adds a name to this set. |
boolean |
alias(String name,
String alias)
Adds an alias to a name to this set. |
protected JexlSandbox.Names |
copy()
|
String |
get(String name)
Whether a given name is allowed or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JexlSandbox.WhiteSet()
| Method Detail |
|---|
protected JexlSandbox.Names copy()
copy in class JexlSandbox.Namespublic boolean add(String name)
JexlSandbox.Names
add in class JexlSandbox.Namesname - the name to add
public boolean alias(String name,
String alias)
JexlSandbox.NamesThis only has an effect on white lists.
alias in class JexlSandbox.Namesname - the name to aliasalias - the alias
public String get(String name)
JexlSandbox.Names
get in class JexlSandbox.Namesname - the method/property name to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||