public interface IWritableState
This interface is a companion to IState
which handles reading of state information.
IStateful
can be used to mark a class that knows how to store its state in an
IWritableState instance.
Modifier and Type | Method and Description |
---|---|
IWritableState |
createChild(java.lang.String type)
Creates a new child node.
|
void |
putString(java.lang.String key,
java.lang.String value)
Stores a named attribute value.
|
IWritableState createChild(java.lang.String type)
type
- node typevoid putString(java.lang.String key, java.lang.String value)
key
- attribute keyvalue
- attribute value