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 informationConstructor
JexlMethod getConstructorMethod(Object ctorHandle, Object[] args, JexlInfo info)
ctorHandle
- a class or class nameargs
- constructor argumentsinfo
- contextual informationConstructor
JexlMethod getMethod(Object obj, String method, Object[] args, JexlInfo info)
obj
- the objectmethod
- the method nameargs
- method argumentsinfo
- contextual informationJexlMethod
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 informationJexlPropertyGet
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 informationJexlPropertySet
.Copyright © 2016 Internet2. All rights reserved.