Package org.geotools.filter.expression
Interface PropertyAccessorFactory
-
- All Known Implementing Classes:
DirectPropertyAccessorFactory
,FeaturePropertyAccessorFactory
,JSONNodePropertyAccessorFactory
,MapPropertyAccessorFactory
,NullPropertyAccessorFactory
,SimpleFeaturePropertyAccessorFactory
,ThisPropertyAccessorFactory
,XmlXPathPropertyAccessorFactory
public interface PropertyAccessorFactory
Factory used to create instances ofPropertyAccessor
- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Field Summary
Fields Modifier and Type Field Description static Hints.Key
NAMESPACE_CONTEXT
Hints
key used to pass namespace context tocreatePropertyAccessor(Class, String, Class, Hints)
in the form of aNamespaceSupport
instance with the prefix/namespaceURI mappings
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyAccessor
createPropertyAccessor(Class<?> type, String xpath, Class<?> target, Hints hints)
Creates a property accessor for a particular class.
-
-
-
Field Detail
-
NAMESPACE_CONTEXT
static final Hints.Key NAMESPACE_CONTEXT
Hints
key used to pass namespace context tocreatePropertyAccessor(Class, String, Class, Hints)
in the form of aNamespaceSupport
instance with the prefix/namespaceURI mappings
-
-
Method Detail
-
createPropertyAccessor
PropertyAccessor createPropertyAccessor(Class<?> type, String xpath, Class<?> target, Hints hints)
Creates a property accessor for a particular class.- 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
null
if this factory cannot create an accessor for the specified type.
-
-