|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMKey
public class RMKey
This class provides an optimized convenience for getting named values from arbitrary objects.
Nested Class Summary | |
---|---|
static interface |
RMKey.ValueForKey
This interface is implemented by objects that want to handle getting key values themselves. |
static interface |
RMKey.ValueForKeyChain
This interface is implemented by objects that want to handle getting keychain values themselves. |
Constructor Summary | |
---|---|
RMKey()
|
Method Summary | |
---|---|
static int |
intValueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns an int value for a key. |
static java.lang.String |
stringValueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns a string value for a key. |
static java.lang.Object |
valueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMKey()
Method Detail |
---|
public static java.lang.Object valueForKey(java.lang.Object anObj, java.lang.String aKey)
public static java.lang.String stringValueForKey(java.lang.Object anObj, java.lang.String aKey)
public static int intValueForKey(java.lang.Object anObj, java.lang.String aKey)
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |