Home > Guides > Core Developers Guide > Annotations > Element Annotation |

Apache Struts 2 Documentation
Element Annotation
Edit Page Browse Space Add Page Add News

Sets the Element for type conversion.

## Usage

The Element annotation must be applied at field or method level.

## Parameters

Parameter | Required | Default | Description
--- | --- | --- | ---
value | no | java.lang.Object.class | The element property value.

## Examples