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