|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Uberspect
'Federated' introspection/reflection interface to allow the introspection behavior in JEXL to be customized.
| Method Summary | |
|---|---|
Constructor<?> |
getConstructor(Object ctorHandle,
Object[] args,
JexlInfo info)
Deprecated. |
JexlMethod |
getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
Returns a class constructor wrapped in a JexlMethod. |
Iterator<?> |
getIterator(Object obj,
JexlInfo info)
Gets an iterator from an object. |
JexlMethod |
getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
Returns a JexlMethod. |
JexlPropertyGet |
getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Property getter. |
JexlPropertySet |
getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
Property setter. |
void |
setClassLoader(ClassLoader loader)
Sets the class loader to use when getting a constructor with a class name parameter. |
| Method Detail |
|---|
void setClassLoader(ClassLoader loader)
loader - the class loader
@Deprecated
Constructor<?> getConstructor(Object ctorHandle,
Object[] args,
JexlInfo info)
ctorHandle - a class or class nameargs - constructor argumentsinfo - contextual information
Constructor
JexlMethod getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
ctorHandle - a class or class nameargs - constructor argumentsinfo - contextual information
Constructor
JexlMethod getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
obj - the objectmethod - the method nameargs - method argumentsinfo - contextual information
JexlMethod
JexlPropertyGet getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Returns JexlPropertyGet appropos for ${bar.woogie}.
obj - the object to get the property fromidentifier - property nameinfo - contextual information
JexlPropertyGet
JexlPropertySet getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
returns JelPropertySet appropos for ${foo.bar = "geir"}
.
obj - the object to get the property from.identifier - property namearg - value to setinfo - contextual information
JexlPropertySet.
Iterator<?> getIterator(Object obj,
JexlInfo info)
obj - to get the iterator forinfo - contextual information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||