public interface IState
This interface is a companion to IWritableState
which handles writing of state
information.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Gets a named attribute value.
|
java.lang.String[] |
getAttributeKeys()
Return an array with the attribute keys for this state.
|
IState |
getChild(java.lang.String type)
Gets a child of the named type.
|
IState[] |
getChildren()
Gets all child nodes.
|
IState[] |
getChildren(java.lang.String type)
Gets all child nodes of a named type.
|
java.lang.String |
getType()
Get the node type of this state.
|
java.lang.String getType()
java.lang.String[] getAttributeKeys()
java.lang.String getAttribute(java.lang.String key)
key
- attribute keyIState getChild(java.lang.String type)
type
- node typenull
if no such child existsIState[] getChildren()
IState[] getChildren(java.lang.String type)
type
- node type