org.javagen.agile.core.visitor
Class DefaultValueVisitor
java.lang.Object
org.javagen.agile.core.visitor.DefaultVisitor
org.javagen.agile.core.visitor.DefaultValueVisitor
- All Implemented Interfaces:
- Generator, Visit, Visitor
public class DefaultValueVisitor
- extends DefaultVisitor
Walk a model tree and set all non-null values to DefaultValue if present.
Requires property types to have a String constructor or PropertyEditor defined.
- Author:
- Richard Easterling
- See Also:
DefaultValue,
PropertyEditorManager
|
Method Summary |
void |
visit(Model model)
Called to perform a specific process on a model instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cachedSetters
Map<Class<?>,List<DefaultValueVisitor.DefaultSetter>> cachedSetters
DefaultValueVisitor
public DefaultValueVisitor()
visit
public void visit(Model model)
- Description copied from interface:
Visit
- Called to perform a specific process on a model instance.
- Specified by:
visit in interface Visit- Specified by:
visit in interface Visitor- Overrides:
visit in class DefaultVisitor
- Parameters:
model - instance to visit.
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.