Class TextBetweenOperation
java.lang.Object
com.norconex.importer.handler.transformer.impl.TextBetweenOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGets the end delimiter matcher for text to extract.Gets field matcher for fields on which to extract values.getOnSet()The property setter to use when a value is set.Gets the start delimiter matcher for text to extract.The target field for extracted text.inthashCode()booleansetEndMatcher(TextMatcher endMatcher) Sets the end delimiter matcher for text to extract.setFieldMatcher(TextMatcher fieldMatcher) Sets field matcher for fields on which to extract values.setInclusive(boolean inclusive) setOnSet(PropertySetter onSet) The property setter to use when a value is set.setStartMatcher(TextMatcher startMatcher) Sets the start delimiter matcher for text to extract.setToField(String toField) The target field for extracted text.toString()
-
Constructor Details
-
TextBetweenOperation
public TextBetweenOperation()
-
-
Method Details
-
getFieldMatcher
Gets field matcher for fields on which to extract values.- Returns:
- field matcher
-
setFieldMatcher
Sets field matcher for fields on which to extract values.- Parameters:
fieldMatcher- field matcher
-
getStartMatcher
Gets the start delimiter matcher for text to extract.- Returns:
- start delimiter matcher
-
setStartMatcher
Sets the start delimiter matcher for text to extract.- Parameters:
startMatcher- start delimiter matcher
-
getEndMatcher
Gets the end delimiter matcher for text to extract.- Returns:
- end delimiter matcher
-
setEndMatcher
Sets the end delimiter matcher for text to extract.- Parameters:
endMatcher- end delimiter matcher
-
getToField
The target field for extracted text.- Returns:
- target field
-
isInclusive
public boolean isInclusive() -
getOnSet
The property setter to use when a value is set.- Returns:
- property setter
-
setToField
The target field for extracted text.- Parameters:
toField- target field- Returns:
this.
-
setInclusive
- Returns:
this.
-
setOnSet
The property setter to use when a value is set.- Parameters:
onSet- property setter- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-