public interface PropertyAccessorFactory
PropertyAccessor
Modifier and Type | Field and Description |
---|---|
static Hints.Key |
NAMESPACE_CONTEXT
Hints key used to pass namespace context to createPropertyAccessor(Class,
String, Class, Hints) in the form of a NamespaceSupport instance with the
prefix/namespaceURI mappings |
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
createPropertyAccessor(Class<?> type,
String xpath,
Class<?> target,
Hints hints)
Creates a property accessor for a particular class.
|
static final Hints.Key NAMESPACE_CONTEXT
Hints
key used to pass namespace context to createPropertyAccessor(Class,
String, Class, Hints)
in the form of a NamespaceSupport
instance with the
prefix/namespaceURI mappingsPropertyAccessor createPropertyAccessor(Class<?> type, String xpath, Class<?> target, Hints hints)
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.null
if this factory cannot create an accessor
for the specified type.Copyright © 1996–2023 Geotools. All rights reserved.