public interface Uberspect
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 informationConstructorJexlMethod getConstructorMethod(Object ctorHandle, Object[] args, JexlInfo info)
ctorHandle - a class or class nameargs - constructor argumentsinfo - contextual informationConstructorJexlMethod getMethod(Object obj, String method, Object[] args, JexlInfo info)
obj - the objectmethod - the method nameargs - method argumentsinfo - contextual informationJexlMethodJexlPropertyGet getPropertyGet(Object obj, Object identifier, JexlInfo info)
Returns JexlPropertyGet appropos for ${bar.woogie}.
obj - the object to get the property fromidentifier - property nameinfo - contextual informationJexlPropertyGetJexlPropertySet 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 informationJexlPropertySet.Copyright © 2021 Internet2. All rights reserved.