Class AttributeTypeFilter


  • public class AttributeTypeFilter
    extends Object
    Filter to select attributes or layers based on their attribute types.
    • Constructor Detail

      • AttributeTypeFilter

        public AttributeTypeFilter​(int filterType)
        Create a new Filter filtering objects according to the filter type.
    • Method Detail

      • filter

        public List<Layer> filter​(LayerManager layerManager)
        Filter layers from a LayerManager according to AttributeType of their attributes.
        Parameters:
        layerManager - the Layer Manager to filter
        Returns:
        a List of Layers
      • filter

        public List<Layer> filter​(Collection<Layer> layers)
        Filter layers from a LayerManager according to AttributeType of their attributes.
        Parameters:
        layers - candidate layers to filter
        Returns:
        a List of Layers
      • filter

        public List<String> filter​(FeatureSchema schema)
        Filter attributes of a FeatureSchema according to their AttributeType.
        Parameters:
        schema - the FeatureSchema to Filter
        Returns:
        a List of attributes matching the filter criteria