| Modifier and Type | Method and Description |
|---|---|
static StatefulState |
create(IStateful state)
Create a new instance.
|
String |
getAttribute(String key)
Gets a named attribute value.
|
String[] |
getAttributeKeys()
Return an array with the attribute keys for this state.
|
StatefulState |
getChild(String type)
Gets a child of the named type.
|
StatefulState[] |
getChildren()
Gets all child nodes.
|
StatefulState[] |
getChildren(String type)
Gets all child nodes of a named type.
|
String |
getType()
Get the node type of this state.
|
void |
saveTo(IWritableState state)
Saves the state for this object into a state object.
|
String |
toString() |
public String getType()
IStatepublic StatefulState getChild(String type)
IStatepublic String[] getAttributeKeys()
IStategetAttributeKeys in interface IStatepublic String getAttribute(String key)
IStategetAttribute in interface IStatekey - attribute keypublic StatefulState[] getChildren()
IStategetChildren in interface IStatepublic StatefulState[] getChildren(String type)
IStategetChildren in interface IStatetype - node typepublic void saveTo(IWritableState state)
IStatefulpublic static StatefulState create(IStateful state)
state - object whose state will be loaded into the new instanceCopyright © 2019. All rights reserved.