Class ReferenceConditionConfig
java.lang.Object
com.norconex.importer.handler.BaseLabelableConfig
com.norconex.importer.handler.condition.BaseConditionConfig
com.norconex.importer.handler.condition.impl.ReferenceConditionConfig
- All Implemented Interfaces:
Labelable
A condition based on a text pattern matching a document reference (e.g. URL).
Can be used both as a pre-parse or post-parse handler.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGets the text matcher for field values.inthashCode()setValueMatcher(TextMatcher valueMatcher) Sets the text matcher for field values.toString()Methods inherited from class com.norconex.importer.handler.BaseLabelableConfig
getLabel, setLabel
-
Constructor Details
-
ReferenceConditionConfig
public ReferenceConditionConfig()
-
-
Method Details
-
getValueMatcher
Gets the text matcher for field values.- Returns:
- text matcher
-
setValueMatcher
Sets the text matcher for field values. Copies it.- Parameters:
valueMatcher- text matcher
-
equals
- Overrides:
equalsin classBaseLabelableConfig
-
canEqual
- Overrides:
canEqualin classBaseLabelableConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseLabelableConfig
-
toString
- Overrides:
toStringin classBaseLabelableConfig
-