Class ReplaceOperation
java.lang.Object
com.norconex.importer.handler.transformer.impl.ReplaceOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGets field matcher.getOnSet()Gets value matcher.inthashCode()booleansetDiscardUnchanged(boolean discardUnchanged) setFieldMatcher(TextMatcher fieldMatcher) Sets field matcher.setOnSet(PropertySetter onSet) setToField(String toField) setToValue(String toValue) setValueMatcher(TextMatcher valueMatcher) Sets value matcher.toString()
-
Constructor Details
-
ReplaceOperation
public ReplaceOperation()
-
-
Method Details
-
getToValue
-
setToValue
-
getValueMatcher
Gets value matcher.- Returns:
- value matcher
-
setValueMatcher
Sets value matcher.- Parameters:
valueMatcher- value matcher- Returns:
- this instance
-
getFieldMatcher
Gets field matcher.- Returns:
- field matcher
-
setFieldMatcher
Sets field matcher.- Parameters:
fieldMatcher- field matcher- Returns:
- this instance
-
getToField
-
getOnSet
-
isDiscardUnchanged
public boolean isDiscardUnchanged() -
setToField
- Returns:
this.
-
setOnSet
- Returns:
this.
-
setDiscardUnchanged
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-