Class AbstractOnMatchFilter
- java.lang.Object
-
- com.norconex.importer.handler.filter.AbstractOnMatchFilter
-
- All Implemented Interfaces:
IOnMatchFilter
@Deprecated public abstract class AbstractOnMatchFilter extends Object implements IOnMatchFilter
Deprecated.Since 3.0.0, use composition with OnMatch insteadConvenience base class for implementing filters offering the include/exclude "onmatch" option. Default behavior on match is to include.- Author:
- Pascal Essiembre
-
-
Constructor Summary
Constructors Constructor Description AbstractOnMatchFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object other)
Deprecated.OnMatch
getOnMatch()
Deprecated.Gets the the on match action (exclude or include).int
hashCode()
Deprecated.protected void
loadOnMatchFromXML(XML xml)
Deprecated.Convenience method for subclasses to load the "onMatch" attribute from an XML file whenXML
is used.protected void
saveOnMatchToXML(XML xml)
Deprecated.Convenience method for subclasses to save the "onMatch" attribute to an XML file whenXML
is used.void
setOnMatch(OnMatch onMatch)
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
getOnMatch
public OnMatch getOnMatch()
Deprecated.Description copied from interface:IOnMatchFilter
Gets the the on match action (exclude or include).- Specified by:
getOnMatch
in interfaceIOnMatchFilter
- Returns:
- on match (exclude or include)
-
setOnMatch
public final void setOnMatch(OnMatch onMatch)
Deprecated.
-
loadOnMatchFromXML
protected final void loadOnMatchFromXML(XML xml)
Deprecated.Convenience method for subclasses to load the "onMatch" attribute from an XML file whenXML
is used.- Parameters:
xml
- XML configuration
-
saveOnMatchToXML
protected void saveOnMatchToXML(XML xml)
Deprecated.Convenience method for subclasses to save the "onMatch" attribute to an XML file whenXML
is used.- Parameters:
xml
- the XML
-
-