com.opensymphony.xwork.conversion.annotations
Annotation Type Conversion
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Conversion
A marker annotation for type conversions at Type level.
Annotation usage:
The Conversion annotation must be applied at Type level.
Annotation parameters:
Parameter |
Required |
Default |
Description |
conversion |
no |
|
used for Type Conversions applied at Type level. |
Example code:
@Conversion()
public class ConversionAction implements Action {
}
- Version:
- $Id: Conversion.java 892 2006-03-08 22:04:14 +0100 (Wed, 08 Mar 2006) rainerh $
- Author:
- Rainer Hermanns
conversions
public abstract TypeConversion[] conversions
- Allow Type Conversions being applied at Type level.
- Default:
- {}