public class SimpleValueFetcher extends Object implements IValueFetcher
Constructor and Description |
---|
SimpleValueFetcher()
Create a new fetcher.
|
SimpleValueFetcher(IValueFetcher parent)
Create a new fetcher.
|
Modifier and Type | Method and Description |
---|---|
Object |
fetchValue(String name)
Fetch a value via its name.
|
Object |
fetchValue(String name,
Object object)
Fetch a value via its name from an object.
|
void |
setValue(String key,
Object value)
Set a value.
|
void |
setValues(Map values)
Set values.
|
public SimpleValueFetcher()
public SimpleValueFetcher(IValueFetcher parent)
public Object fetchValue(String name)
fetchValue
in interface IValueFetcher
name
- The name.public Object fetchValue(String name, Object object)
fetchValue
in interface IValueFetcher
name
- The name.object
- The object.public void setValue(String key, Object value)
key
- The key.value
- The value.public void setValues(Map values)
values
- The values map.Copyright © 2012. All Rights Reserved.