SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.crawler.web.filter
Class WorkTypeFilter<Type>

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter<Type>
Type Parameters:
Type -
All Implemented Interfaces:
IFilter<Type>
Direct Known Subclasses:
ContentTypeFilter, MetaTagFilter, UrlFilter

public abstract class WorkTypeFilter<Type>
extends java.lang.Object
implements IFilter<Type>

Abstract class that holds common functionality for all work type filters, i.e. filters that have an attribute work type with possible values Select or Unselect.


Field Summary
protected  FilterWorkType _workType
          The work type.
 
Constructor Summary
WorkTypeFilter()
           
 
Method Summary
 FilterWorkType getWorkType()
          Returns filters' work type.
 void setWorkType(FilterWorkType theWorkType)
          Assigns filters' work type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.smila.connectivity.framework.crawler.web.filter.IFilter
matches
 

Field Detail

_workType

protected FilterWorkType _workType
The work type.

Constructor Detail

WorkTypeFilter

public WorkTypeFilter()
Method Detail

getWorkType

public FilterWorkType getWorkType()
Returns filters' work type.

Returns:
FilterWorkType

setWorkType

public void setWorkType(FilterWorkType theWorkType)
Assigns filters' work type.

Parameters:
theWorkType - FilterWorkType

SMILA (incubation) API documentation