|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl2.introspection.Sandbox.Names
org.apache.commons.jexl2.introspection.Sandbox.WhiteSet
public static final class Sandbox.WhiteSet
A white set of names.
| Constructor Summary | |
|---|---|
Sandbox.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. |
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 Sandbox.WhiteSet()
| Method Detail |
|---|
public boolean add(String name)
Sandbox.Names
add in class Sandbox.Namesname - the name to add
public boolean alias(String name,
String alias)
Sandbox.NamesThis only has an effect on white lists.
alias in class Sandbox.Namesname - the name to aliasalias - the alias
public String get(String name)
Sandbox.Names
get in class Sandbox.Namesname - the method/property name to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||