|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface PersistenceDelegateCallback.PersistenceNode
The interface is used to analyze the properties of a source of persistence data.
| Method Summary | |
|---|---|
boolean |
containsAttribute(String name)
Returns true if this node contains an attribute for the specified name. |
String |
getAttributeValue(String name)
Returns the attribute's value. |
boolean |
getBoolean(String name,
boolean defaultValue)
Returns the attribute's value as boolean. |
float |
getFloat(String name,
float defaultValue)
Returns the attribute's value as float. |
int |
getInteger(String name,
int defaultValue)
Returns the attribute's value as integer. |
String |
getName()
Returns the node name. |
| Method Detail |
|---|
String getName()
boolean containsAttribute(String name)
name - attribute name whose presence in this node is to be tested.
String getAttributeValue(String name)
name - attribute name whose value in this node is to be returned.
boolean getBoolean(String name,
boolean defaultValue)
name - name attribute whose value in this node is to be returned.defaultValue - the value to be returned if the node does not contain an attribute with the specified name.
int getInteger(String name,
int defaultValue)
name - name attribute whose value in this node is to be returned.defaultValue - the value to be returned if the node does not contain an attribute with the specified name.
float getFloat(String name,
float defaultValue)
name - name attribute whose value in this node is to be returned.defaultValue - the value to be returned if the node does not contain an attribute with the specified name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||