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.
  • Constructor Details

    • VectorTilesFeaturePropertyAccessorFactory

      public VectorTilesFeaturePropertyAccessorFactory()
  • Method Details

    • createPropertyAccessor

      public PropertyAccessor createPropertyAccessor(Class<?> type, String xpath, Class<?> target, Hints hints)
      Returns a PropertyAccessor that can handle VectorTile.Layer.Feature, and is used to pre-filter vector tiles features before converting them to SimpleFeature.

      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.