public class XmlXPathPropertyAccessorFactory extends Object implements PropertyAccessorFactory
Feature.| Modifier and Type | Field and Description |
|---|---|
static Hints.Key |
NAMESPACE_SUPPORT
Namespace support hint
|
NAMESPACE_CONTEXT| Constructor and Description |
|---|
XmlXPathPropertyAccessorFactory() |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
createPropertyAccessor(Class type,
String xpath,
Class target,
Hints hints)
Creates a property accessor for a particular class.
|
public static Hints.Key NAMESPACE_SUPPORT
public PropertyAccessor createPropertyAccessor(Class type, String xpath, Class target, Hints hints)
PropertyAccessorFactorycreatePropertyAccessor in interface PropertyAccessorFactorytype - 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.null if this factory cannot create an accessor
for the specified type.Copyright © 1996–2021 Geotools. All rights reserved.