|
||||||||||
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 | |
---|---|
java.lang.reflect.Constructor<?> |
getConstructor(java.lang.Object ctorHandle,
java.lang.Object[] args,
JexlInfo info)
Returns a class constructor. |
java.util.Iterator<?> |
getIterator(java.lang.Object obj,
JexlInfo info)
Gets an iterator from an object. |
JexlMethod |
getMethod(java.lang.Object obj,
java.lang.String method,
java.lang.Object[] args,
JexlInfo info)
Returns a JexlMethod. |
JexlPropertyGet |
getPropertyGet(java.lang.Object obj,
java.lang.Object identifier,
JexlInfo info)
Property getter. |
JexlPropertySet |
getPropertySet(java.lang.Object obj,
java.lang.Object identifier,
java.lang.Object arg,
JexlInfo info)
Property setter. |
void |
setClassLoader(java.lang.ClassLoader loader)
Sets the class loader to use when getting a constructor with a class name parameter. |
Method Detail |
---|
void setClassLoader(java.lang.ClassLoader loader)
loader
- the class loaderjava.lang.reflect.Constructor<?> getConstructor(java.lang.Object ctorHandle, java.lang.Object[] args, JexlInfo info)
ctorHandle
- a class or class nameargs
- constructor argumentsinfo
- contextual information
Constructor
JexlMethod getMethod(java.lang.Object obj, java.lang.String method, java.lang.Object[] args, JexlInfo info)
obj
- the objectmethod
- the method nameargs
- method argumentsinfo
- contextual information
JexlMethod
JexlPropertyGet getPropertyGet(java.lang.Object obj, java.lang.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(java.lang.Object obj, java.lang.Object identifier, java.lang.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
.java.util.Iterator<?> getIterator(java.lang.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 |