Class MapPropertyAccessorFactory
Object
MapPropertyAccessorFactory
- All Implemented Interfaces:
PropertyAccessorFactory
A
PropertyAccessorFactory that returns a PropertyAccessor capable of evaluating single attribute
names from a Map.- Author:
- Gabriel Roldan
-
Field Summary
Fields inherited from interface PropertyAccessorFactory
DEFAULT_PRIORITY, HIGHEST_PRIORITY, LOWEST_PRIORITY, NAMESPACE_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertyAccessor(Class type, String xpath, Class target, Hints hints) Creates a property accessor for a particular class.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PropertyAccessorFactory
getPriority
-
Constructor Details
-
MapPropertyAccessorFactory
public MapPropertyAccessorFactory()
-
-
Method Details
-
createPropertyAccessor
Creates a property accessor for a particular class.- Specified by:
createPropertyAccessorin interfacePropertyAccessorFactory- Parameters:
type- The type of object to be accessed.xpath- The xpath expression to evaluate.target- The kind of result we are expecting (ie Geometry)hints- Hints to be used when creatign the accessor.- Returns:
- The property accessor, or
nullif this factory cannot create an accessor for the specified type.
-