jet.api
Class ObjectInfo

java.lang.Object
  extended by jet.api.ObjectInfo

public class ObjectInfo
extends java.lang.Object

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

ObjectInfo

public ObjectInfo()
Method Detail

getLength

public int getLength()
Gets the number of the object's properties.

Returns:
the number of the properties.

getNames

public java.lang.String[] getNames()
Gets all names of the object's properties.

Returns:
a list of all property names.

getValues

public java.lang.String[] getValues()
Gets the property values of this object.

Returns:
a list of all property values.
See Also:
getValue(String)

getValue

public java.lang.String getValue(java.lang.String name)
Gets the property value by its property name.

Parameters:
name - The property name.
Returns:
the String format value of property.