private static class StatefulState.StatefulStateWriter extends java.lang.Object implements IWritableState
Modifier and Type | Field and Description |
---|---|
private StatefulState |
destination |
Constructor and Description |
---|
StatefulStateWriter(StatefulState destination) |
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.
|
private final StatefulState destination
StatefulStateWriter(StatefulState destination)
public void putString(java.lang.String key, java.lang.String value)
IWritableState
putString
in interface IWritableState
key
- attribute keyvalue
- attribute valuepublic IWritableState createChild(java.lang.String type)
IWritableState
createChild
in interface IWritableState
type
- node type