|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Inherited
@Target(value={FIELD,METHOD,ANNOTATION_TYPE})
public @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
Conversion,
Conversions,
BeanProcessor,
BeanWriterProcessor| Required Element Summary | |
|---|---|
String |
expression
The regular expression to be executed against the String value of the annotated field |
String |
replacement
The replacement string to substitute any contents matched by the given expression() |
| Element Detail |
|---|
public abstract String expression
public abstract String replacement
expression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||