Package org.beanio.internal.compiler
Interface PropertyAccessorFactory
-
- All Known Implementing Classes:
ReflectionAccessorFactory
public interface PropertyAccessorFactory
Factory interface for creatingPropertyAccessor
implementations.- Since:
- 2.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyAccessor
getPropertyAccessor(java.lang.Class<?> parent, java.beans.PropertyDescriptor descriptor, int carg)
Creates a newPropertyAccessor
.PropertyAccessor
getPropertyAccessor(java.lang.Class<?> parent, java.lang.reflect.Field field, int carg)
Creates a newPropertyAccessor
.
-
-
-
Method Detail
-
getPropertyAccessor
PropertyAccessor getPropertyAccessor(java.lang.Class<?> parent, java.beans.PropertyDescriptor descriptor, int carg)
Creates a newPropertyAccessor
.- Parameters:
parent
- the parent bean object typedescriptor
- thePropertyDescriptor
to accesscarg
- the constructor argument index- Returns:
- the new
PropertyAccessor
-
getPropertyAccessor
PropertyAccessor getPropertyAccessor(java.lang.Class<?> parent, java.lang.reflect.Field field, int carg)
Creates a newPropertyAccessor
.- Parameters:
parent
- the parent bean object typefield
- theField
to accesscarg
- the constructor argument index- Returns:
- the new
PropertyAccessor
-
-