skrueger
Class AttributeMetaDataAttributeTypeFilter
java.lang.Object
skrueger.AttributeMetaDataAttributeTypeFilter
- All Implemented Interfaces:
- AttributeTypeFilter
public class AttributeMetaDataAttributeTypeFilter
- extends Object
- implements AttributeTypeFilter
Implements an AttributeTypeFilter
using the
visible-property of an
AttributeMetadata
map (or array).
If this filter is created from a null
map or null
array,
the filter accepts ALL attributes except geometries.
- Version:
- 1.0
- Author:
- Martin Schmitz (University of Bonn/Germany)
- See Also:
AttributeTypeFilter.NO_GEOMETRY
Method Summary |
boolean |
accept(AttributeDescriptor type)
Returns true if the attribute meta data at index idx is
visible and the attribute is no geometry at all. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attrMetaDataMap
protected AttributeMetadataMap attrMetaDataMap
- The meta data of a set of attributes
AttributeMetaDataAttributeTypeFilter
public AttributeMetaDataAttributeTypeFilter(AttributeMetadata[] attrMetaData)
- Creates a new filter.
- Parameters:
attrMetaData
- the meta data of some attributes
AttributeMetaDataAttributeTypeFilter
public AttributeMetaDataAttributeTypeFilter(AttributeMetadataMap attrMetaData)
- Creates a new filter.
- Parameters:
attrMetaData
- the meta data of some attributes
accept
public boolean accept(AttributeDescriptor type)
- Returns
true
if the attribute meta data at index idx
is
visible and the attribute is no geometry at all.
- Specified by:
accept
in interface AttributeTypeFilter
- Parameters:
type
- ein Attribut-Typ