org.geotools.filter.expression
Interface PropertyAccessorFactory

All Known Implementing Classes:
DirectPropertyAccessorFactory, FeaturePropertyAccessorFactory, MapPropertyAccessorFactory, SimpleFeaturePropertyAccessorFactory, ThisPropertyAccessorFactory, XmlXPathPropertyAccessorFactory, XPathPropertyAccessorFactory

public interface PropertyAccessorFactory

Factory used to create instances of PropertyAccessor

Author:
Justin Deoliveira, The Open Planning Project

Method Summary
 PropertyAccessor createPropertyAccessor(java.lang.Class type, java.lang.String xpath, java.lang.Class target, Hints hints)
          Creates a property accessor for a particular class.
 

Method Detail

createPropertyAccessor

PropertyAccessor createPropertyAccessor(java.lang.Class type,
                                        java.lang.String xpath,
                                        java.lang.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.


Copyright © 1996-2010 Geotools. All Rights Reserved.