...
Annotation | Description |
---|---|
Checks if there are any conversion errors for a field. | |
Checks that a date field has a value within a specified range. | |
Checks that a double field has a value within a specified range. | |
Checks that a field is a valid e-mail address. | |
Validates an expression. | |
Uses an OGNL expression to perform its validator. | |
Checks that a numeric field has a value within a specified range. | |
Validates a regular expression for a field. | |
Checks that a field is non-null. | |
Checks that a String field is not empty. | |
Checks that a String field is of the right length. | |
Invokes a regular expression to validate a String field. | |
Checks that a field is a valid URL. | |
Marker annotation for validation at Type level. | |
Used to group validation annotations. | |
Invokes the validation for a property's object type. | |
Use this annotation for your custom validator types. |
...
Annotation | Description |
---|---|
Marker annotation for type conversions at Type level. | |
For Collection and Map types: Create the types within the Collection or Map, if null. | |
For Generic types: Specify the element type for Collection types and Map values. | |
For Generic types: Specify the key type for Map keys. | |
For Generic types: Specify the key property name value. | |
Used for class and application wide conversion rules. |
Tiles Annotations
The Tiles Plugin provides it's own set of Annotations. They can be used to keep tiles.xml
short. Instead tiles definitions can be created by annotating actions.
Annotation | Description |
---|---|
TilesDefinition | Represents a <definition> element in tiles.xml |
TilesDefinitions | A list of TilesDefinition Annotations |
TilesPutAttribute | Represents a <put-attribute> element in tiles.xml |
TilesPutListAttribute | Represents a <put-list-attribute> element in tiles.xml |
TilesAddAttribute | Represents a <add-attribute> element in tiles.xml |
TilesAddListAttribute | Represents a <add-list-attribute> element in tiles.xml |