Annotation Interface Replace
Indicates the String value of a field must have some of its contents replaced using
RegexConversion
.
Commonly used for java beans processed using BeanProcessor
and/or BeanWriterProcessor
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe regular expression to be executed against the String value of the annotated fieldThe replacement string to substitute any contents matched by the givenexpression()
-
Element Details
-
expression
String expressionThe regular expression to be executed against the String value of the annotated field- Returns:
- the regular expression
-
replacement
String replacementThe replacement string to substitute any contents matched by the givenexpression()
- Returns:
- the replacement string
-