org.geotools.xml
Class XPathPropertyAccessorFactory
java.lang.Object
org.geotools.xml.XPathPropertyAccessorFactory
- All Implemented Interfaces:
- PropertyAccessorFactory
public class XPathPropertyAccessorFactory
- extends java.lang.Object
- implements PropertyAccessorFactory
PropertyAccessorFactory used to create property accessors which can handle
xpath expressions against instances of Feature
.
- Author:
- Justin Deoliveira, The Open Planning Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_SUPPORT
public static Hints.Key NAMESPACE_SUPPORT
- Namespace support hint
XPathPropertyAccessorFactory
public XPathPropertyAccessorFactory()
createPropertyAccessor
public PropertyAccessor createPropertyAccessor(java.lang.Class type,
java.lang.String xpath,
java.lang.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-2010 Geotools. All Rights Reserved.