com.norconex.importer.filter
Interface IOnMatchFilter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractOnMatchFilter, RegexMetadataFilter

public interface IOnMatchFilter
extends Serializable

Tells the collector that a filter is of "OnMatch" type. This means, if one or more filters of type "include" exists in a set of filters, at least one of them must be matched for a document (or other object) to be "included". Only one filter of type "exclude" needs to be matched or the document (or other object) to be excluded. Filters of type "exclude" have precedence over includes.

Author:
Pascal Essiembre

Method Summary
 OnMatch getOnMatch()
          Gets the the on match action (exclude or include).
 

Method Detail

getOnMatch

OnMatch getOnMatch()
Gets the the on match action (exclude or include).

Returns:
on match (exclude or include)


Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.