|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.navel.beans.DefaultNestedResolver
public class DefaultNestedResolver
The default implementation just adds the provided initial state directly to storage, triggering property type and name validation.
Constructor Summary | |
---|---|
DefaultNestedResolver()
|
Method Summary | |
---|---|
void |
resolve(java.lang.Object bean,
java.util.Map<java.lang.String,java.lang.Object> initialValues)
If any additional processing or mapping needs to be performed before the values are set into a new, nested bean's state, implement here and register via the ProxyFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultNestedResolver()
Method Detail |
---|
public void resolve(java.lang.Object bean, java.util.Map<java.lang.String,java.lang.Object> initialValues)
NestedResolver
resolve
in interface NestedResolver
bean
- A navel bean, may be new and empty or may be partially
populated, depending on the exact dot notation keys in the
initialValues map and other factors, so should be careful
about inadvertently clobbering existing state.initialValues
- The appropriate values derived for the bean argument, which
may be filtered or changed as appropriate to keep property
validation from throwing an exception.NestedResolver.resolve(java.lang.Object,
java.util.Map)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |