|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl3.internal.introspection.IndexedType.IndexedContainer
public static final class IndexedType.IndexedContainer
A generic indexed property container, exposes get(key) and set(key, value) and solves method call dynamically based on arguments.
Must remain public for introspection purpose.
Method Summary | |
---|---|
Object |
get(Object key)
Gets a property from this indexed container. |
Class<?> |
getContainerClass()
Gets the property container class. |
String |
getContainerName()
Gets the property container name. |
Object |
set(Object key,
Object value)
Sets a property in this indexed container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getContainerName()
public Class<?> getContainerClass()
public Object get(Object key) throws Exception
key
- the property key
Exception
- if inner invocation failspublic Object set(Object key, Object value) throws Exception
key
- the property keyvalue
- the property value
Exception
- if inner invocation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |