org.loom.binding
Class PropertyBinderFactory

java.lang.Object
  extended by org.loom.binding.PropertyBinderFactory

@Singleton
public class PropertyBinderFactory
extends java.lang.Object

The PropertyBinder factory.


Constructor Summary
PropertyBinderFactory()
           
 
Method Summary
 PropertyBinder create(java.lang.Class<?> clazz, java.lang.String normalizedPropertyPath)
           
 PropertyBinderMap createPropertyBinderMap(java.lang.Class<?> containerClass)
          Creates a PropertyBinderMap with all the property binders for a class.
 void setConverterFactory(ConverterFactory converterFactory)
           
 void setNodeFactory(NodeFactory nodeFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBinderFactory

public PropertyBinderFactory()
Method Detail

create

public PropertyBinder create(java.lang.Class<?> clazz,
                             java.lang.String normalizedPropertyPath)

createPropertyBinderMap

public PropertyBinderMap createPropertyBinderMap(java.lang.Class<?> containerClass)
Creates a PropertyBinderMap with all the property binders for a class. These PropertyBinder will be used to assign and get values of each requested property path.

Parameters:
containerClass - The class that is root of any property path

setNodeFactory

public void setNodeFactory(NodeFactory nodeFactory)

setConverterFactory

public void setConverterFactory(ConverterFactory converterFactory)