Packagecom.esri.bacore.thematicmapping.extensionClasses
Classpublic class MatchAnyFilter
InheritanceMatchAnyFilter Inheritance Object
Implements IAttributesFilter

The MatchAnyFilter class applies logical "OR" operation on its inner filters.



Public Methods
 MethodDefined By
  
MatchAnyFilter(filters:Array = null)
Creates a new instance of the MatchAnyFilter class.
MatchAnyFilter
  
testAttributes(attributes:Object, attributesProvider:TMAttributesProvider, strictMatch:Boolean):AttributesFilterResult
Test feature attributes to match filtering criteria of any of inner filters.
MatchAnyFilter
Constructor Detail
MatchAnyFilter()Constructor
public function MatchAnyFilter(filters:Array = null)

Creates a new instance of the MatchAnyFilter class.

If filters parameter is null, this filter works as hide-all filter.

Parameters
filters:Array (default = null) — enumeration of inner filters to be joined with logical "OR" operation.
Method Detail
testAttributes()method
public function testAttributes(attributes:Object, attributesProvider:TMAttributesProvider, strictMatch:Boolean):AttributesFilterResult

Test feature attributes to match filtering criteria of any of inner filters.

In the case of the strict match, the result of filtering will be UNKNOWN if any of subfilters returns the UNKNOWN result.

Parameters

attributes:Object — Attributes of feature.
 
attributesProvider:TMAttributesProvider — Provider of feature attributes.
 
strictMatch:Boolean — Strict match mode.

Returns
AttributesFilterResult — Result of testing.