org.geotools.filter.expression
Class DirectPropertyAccessorFactory

Object
  extended by DirectPropertyAccessorFactory
All Implemented Interfaces:
PropertyAccessorFactory

public class DirectPropertyAccessorFactory
extends Object
implements PropertyAccessorFactory

This class will *directly* access a Property with the name equal to xpath.

Author:
Jody Garnett

Field Summary
 
Fields inherited from interface PropertyAccessorFactory
NAMESPACE_CONTEXT
 
Constructor Summary
DirectPropertyAccessorFactory()
           
 
Method Summary
 PropertyAccessor createPropertyAccessor(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, wait
 

Constructor Detail

DirectPropertyAccessorFactory

public DirectPropertyAccessorFactory()
Method Detail

createPropertyAccessor

public PropertyAccessor createPropertyAccessor(Class type,
                                               String xpath,
                                               Class target,
                                               Hints hints)
Description copied from interface: PropertyAccessorFactory
Creates a property accessor for a particular class.

Specified by:
createPropertyAccessor in interface PropertyAccessorFactory
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-2014 Geotools. All Rights Reserved.