|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface ValuesSeparatedBy
Mark an interface method with this annotation to indicate a regular expression that separates multiple values
of the value for the property source key represented by the method. This makes sense only on methods which return
array types or List
s. If the method is not marked with this annotation, the separator is
taken to be ",
" (single comma, no surrounding whitespaces).
Use pattern()
to specify a plain regular expression, or valueOf()
to specify a regular
expression parts of which can be comprised of the values of bound properties. The keys of such properties are
delimited in the pattern by [
and ]
. It is illegal to specify both pattern()
and
valueOf()
at the same time with values other than the default.
BoundProperty
Optional Element Summary | |
---|---|
String |
pattern
A regular expression specifying a separator to be used on values of a given property. |
String |
valueOf
An expression evaluating to a regular expression specifying a separator to be used on values of a given property. |
public abstract String pattern
public abstract String valueOf
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |