|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface ConfigParamConfiguration paramater field annotation.
Helps supports reflective injection ofContentHandler paramaters
from its SmooksResourceConfiguration instance. To inject the whole
SmooksResourceConfiguration instance, use the @org.milyn.cdr.annotation.Config
annotation.
@ConfigParam(decoder=IntegerDecoder.class)
private int maxDigits;
Where the paramater name is NOT the same as the field name:
@ConfigParam(name="max-digits", decoder=IntegerDecoder.class)
private int maxDigits;
Configurator| Optional Element Summary | |
|---|---|
String[] |
choice
Paramater choice values. |
Class<? extends DataDecoder> |
decoder
The DataDecoder class to use when decoding the paramater value. |
String |
defaultVal
The default paramater value. |
String |
name
The paramater name as defined in the resource configuration. |
ConfigParam.Use |
use
Paramater required or optional. |
public abstract String name
public abstract ConfigParam.Use use
public abstract String defaultVal
public abstract String[] choice
public abstract Class<? extends DataDecoder> decoder
DataDecoder class to use when decoding the paramater value.
DataDecoder class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||