public class RootStatelessValueLoader extends Object implements StatelessValueLoader
StatelessValueLoader
.Constructor and Description |
---|
RootStatelessValueLoader(Map<PropertyKey,StatelessValueLoader> valueLoaders,
PropertyKeyFactory propertyKeyFactory)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
loadValue(Object object,
String name,
int nameIndex,
String value,
Map<PropertyKey,Object> state)
Loads the value onto the object graph.
|
public RootStatelessValueLoader(Map<PropertyKey,StatelessValueLoader> valueLoaders, PropertyKeyFactory propertyKeyFactory)
valueLoaders
- StatelessValueLoader
instances by PropertyKey
.propertyKeyFactory
- PropertyKeyFactory
.public void loadValue(Object object, String name, int nameIndex, String value, Map<PropertyKey,Object> state) throws Exception
StatelessValueLoader
loadValue
in interface StatelessValueLoader
object
- Root object of the graph to have the value loaded.name
- Full property name.nameIndex
- Index into property name to identify particular property name
for next stringed property to load.value
- Property value.state
- State of loading values to the Object graph.Exception
- If fails to load the value.Copyright © 2005–2016. All rights reserved.