Class XmlXPathPropertyAccessorFactory
- Object
-
- XmlXPathPropertyAccessorFactory
-
- All Implemented Interfaces:
PropertyAccessorFactory
public class XmlXPathPropertyAccessorFactory extends Object implements PropertyAccessorFactory
PropertyAccessorFactory used to create property accessors which can handle xpath expressions against instances ofFeature
.- Author:
- Russell Petty (GeoScience Victoria), Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
-
Field Summary
Fields Modifier and Type Field Description static Hints.Key
NAMESPACE_SUPPORT
Namespace support hint-
Fields inherited from interface PropertyAccessorFactory
NAMESPACE_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description XmlXPathPropertyAccessorFactory()
-
Method Summary
All Methods Instance Methods Concrete 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_SUPPORT
public static Hints.Key NAMESPACE_SUPPORT
Namespace support hint
-
-
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 interfacePropertyAccessorFactory
- 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.
-
-