Commits

Anonymous committed 65d3f59

WW-1006 annotation docs

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@691e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

tiger/src/java/com/opensymphony/xwork/conversion/annotations/Conversion.java

 import java.lang.annotation.*;
 
 /**
- * <code>Conversion</code>
+ * <!-- START SNIPPET: description -->
+ * <p/>The Conversion annotation must be applied at Type level.
+ * <!-- END SNIPPET: description -->
  *
- * A marker annotations for conversions at type level.
+ * <p/> <u>Annotation parameters:</u>
+ *
+ * <!-- START SNIPPET: parameters -->
+ *
+ * <ul>
+ *
+ * <li>conversion (optional) - used for Type Conversions applied at Type level.</li>
+ *
+ * </ul>
+ *
+ * <!-- END SNIPPET: parameters -->
+ *
+ * <p/> <u>Example code:</u>
+ *
+ * <pre>
+ * <!-- START SNIPPET: example -->
+ * @Conversion()
+ * public class ConversionAction implements Action {
+ * }
+ *
+ * <!-- END SNIPPET: example -->
+ * </pre>
  *
  * @author Rainer Hermanns
  * @version $Id$