|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Element interface represents an element in a context.
| Method Summary | |
int |
getIntValue()
Returns the value of the target element, if its class is an integer class. |
String |
getName()
Returns the (local) name of the element, in the context it belongs to. |
Class |
getType()
Returns the type of the target element, as a Class. |
Object |
getValue()
Returns the value of the target element, if its type is an object reference type. |
| Method Detail |
public Class getType()
public Object getValue()
If the target element is of an integral type,
NO_VALUE} is returned.
public int getIntValue()
If the target element has an object reference type, Integer.MAX_VALUE is returned.
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||