Class ExcludeBasedOnNamespace
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnNamespace
-
- All Implemented Interfaces:
SearchIndexExcluder
public class ExcludeBasedOnNamespace extends Object implements SearchIndexExcluder
Skip individual if its URI is from any of the excludeNamespaces.
-
-
Field Summary
-
Fields inherited from interface edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder
DONT_EXCLUDE
-
-
Constructor Summary
Constructors Constructor Description ExcludeBasedOnNamespace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExcludedNamespace(String ns)StringcheckForExclusion(Individual ind)REturn a string message if the individual should be excluded from the index.StringtoString()
-
-
-
Method Detail
-
addExcludedNamespace
public void addExcludedNamespace(String ns)
-
checkForExclusion
public String checkForExclusion(Individual ind)
Description copied from interface:SearchIndexExcluderREturn a string message if the individual should be excluded from the index. Return null if ind should not be excluded.- Specified by:
checkForExclusionin interfaceSearchIndexExcluder
-
-