|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.ObjectInfo
public class ObjectInfo
Class ObjectInfo presents all property names and values of an object.
Use getNames() to get all property names, then get proper values by getValue(String).
| Constructor Summary | |
|---|---|
ObjectInfo()
|
|
| Method Summary | |
|---|---|
int |
getLength()
Gets the number of the object's properties. |
java.lang.String[] |
getNames()
Gets all names of the object's properties. |
java.lang.String |
getValue(java.lang.String name)
Gets the property value by its property name. |
java.lang.String[] |
getValues()
Gets the property values of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectInfo()
| Method Detail |
|---|
public int getLength()
public java.lang.String[] getNames()
public java.lang.String[] getValues()
getValue(String)public java.lang.String getValue(java.lang.String name)
name - The property name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||