Package org.geotools.filter.expression
Class PropertyAccessors
- Object
-
- PropertyAccessors
-
public class PropertyAccessors extends Object
Convenience class for looking up a property accessor for a particular object type.- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<PropertyAccessor>
findPropertyAccessors(Object object, String xpath, Class target, Hints hints)
Looks up a list ofPropertyAccessor
for a particular object.
-
-
-
Method Detail
-
findPropertyAccessors
public static List<PropertyAccessor> findPropertyAccessors(Object object, String xpath, Class target, Hints hints)
Looks up a list ofPropertyAccessor
for a particular object.This method will return all accessors that is capable of handling the object and xpath expression provided, no order is guaranteed.
- Parameters:
object
- The target object.xpath
- An xpath expression denoting a property of the target object.hints
- Hints to pass on to factories.- Returns:
- List of Property accessors, or
null
if object is null
-
-