Save This Page
Home » xwork-2.1.1-src » com.opensymphony.xwork2.conversion.annotations » [javadoc | source]
com.opensymphony.xwork2.conversion.annotations
public class: Conversion [javadoc | source]
com.opensymphony.xwork2.conversion.annotations.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 {
}


Method from com.opensymphony.xwork2.conversion.annotations.Conversion Summary:
conversions
Method from com.opensymphony.xwork2.conversion.annotations.Conversion Detail:
 TypeConversion[] conversions() 
    Allow Type Conversions being applied at Type level.