|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface with abstract methods to facilitate reflection. Typical concrete implementations of this interface are JavaBeans with their properties getting serialized.
| Method Summary | |
int |
getPropertyCount()
Implementation of this abstract method returns the number of property to serialize. |
java.lang.String |
getPropertyName(int index)
Implementation of this abstract method returns the name of the property for the given index. |
java.lang.Object |
getPropertyValue(int index)
Implementation of this abstract method returns the value of the property for the given index. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Sets a property to a value. |
void |
setPropertyAt(java.lang.Object newProperty,
int index)
Replaces the property at the specified index with the newProperty. |
| Method Detail |
public int getPropertyCount()
public java.lang.String getPropertyName(int index)
index - the property number.public java.lang.Object getPropertyValue(int index)
index - the property number.
public void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
propertyName - the name of the property.propertyValue - the value of the property
represented as an Object. Primitive data
types are represented as their corresponding
wrapper class.
public void setPropertyAt(java.lang.Object newProperty,
int index)
newProperty - Object representing the new
value to be substituted.index - the index where newProperty is to
be substituted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
KXML is a XML parser by Lutris Technologies