|
||||||||||
| 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
public abstract static class Sandbox.Names
A base set of names.
| Constructor Summary | |
|---|---|
Sandbox.Names()
|
|
| Method Summary | |
|---|---|
abstract 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.Names()
| Method Detail |
|---|
public abstract boolean add(String name)
name - the name to add
public boolean alias(String name,
String alias)
This only has an effect on white lists.
name - the name to aliasalias - the alias
public String get(String name)
name - the method/property name to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||