Package org.geotools.vectortiles.store
Class VectorTilesFeaturePropertyAccessorFactory
Object
VectorTilesFeaturePropertyAccessorFactory
- All Implemented Interfaces:
PropertyAccessorFactory
public class VectorTilesFeaturePropertyAccessorFactory
extends Object
implements PropertyAccessorFactory
PropertyAccessorFactory
that can access properties of VectorTile.Layer.Feature
so
filters
can be evaluated against them before converting to SimpleFeature
.-
Field Summary
Fields inherited from interface PropertyAccessorFactory
DEFAULT_PRIORITY, HIGHEST_PRIORITY, LOWEST_PRIORITY, NAMESPACE_CONTEXT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertyAccessor
(Class<?> type, String xpath, Class<?> target, Hints hints) Returns aPropertyAccessor
that can handleVectorTile.Layer.Feature
, and is used to pre-filter vector tiles features before converting them toSimpleFeature
.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface PropertyAccessorFactory
getPriority
-
Constructor Details
-
VectorTilesFeaturePropertyAccessorFactory
public VectorTilesFeaturePropertyAccessorFactory()
-
-
Method Details
-
createPropertyAccessor
public PropertyAccessor createPropertyAccessor(Class<?> type, String xpath, Class<?> target, Hints hints) Returns aPropertyAccessor
that can handleVectorTile.Layer.Feature
, and is used to pre-filter vector tiles features before converting them toSimpleFeature
.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.
-