com.opensymphony.xwork2.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 894090 2009-12-27 18:18:29Z martinc $
Author:
Rainer Hermanns

Optional Element Summary
 TypeConversion[] conversions
          Allow Type Conversions being applied at Type level.
 

conversions

public abstract TypeConversion[] conversions
Allow Type Conversions being applied at Type level.

Default:
{}


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.