Class ReplaceOperation

java.lang.Object
com.norconex.importer.handler.transformer.impl.ReplaceOperation

public class ReplaceOperation extends Object
  • Constructor Details

    • ReplaceOperation

      public ReplaceOperation()
  • Method Details

    • getToValue

      public String getToValue()
    • setToValue

      public ReplaceOperation setToValue(String toValue)
    • getValueMatcher

      public TextMatcher getValueMatcher()
      Gets value matcher.
      Returns:
      value matcher
    • setValueMatcher

      public ReplaceOperation setValueMatcher(TextMatcher valueMatcher)
      Sets value matcher.
      Parameters:
      valueMatcher - value matcher
      Returns:
      this instance
    • getFieldMatcher

      public TextMatcher getFieldMatcher()
      Gets field matcher.
      Returns:
      field matcher
    • setFieldMatcher

      public ReplaceOperation setFieldMatcher(TextMatcher fieldMatcher)
      Sets field matcher.
      Parameters:
      fieldMatcher - field matcher
      Returns:
      this instance
    • getToField

      public String getToField()
    • getOnSet

      public PropertySetter getOnSet()
    • isDiscardUnchanged

      public boolean isDiscardUnchanged()
    • setToField

      public ReplaceOperation setToField(String toField)
      Returns:
      this.
    • setOnSet

      public ReplaceOperation setOnSet(PropertySetter onSet)
      Returns:
      this.
    • setDiscardUnchanged

      public ReplaceOperation setDiscardUnchanged(boolean discardUnchanged)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object