Package org.nuxeo.common.xmap.annotation
Annotation Type XNodeMap
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface XNodeMap
- Author:
- Bogdan Stefanescu
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<?>componentTypeThe type of the objects in this collection.StringkeyThe path relative to the current node (which is located byvalue()) which contain the map key to be used.Class<?>typeThe type of collection object.StringvalueA path expression specifying the XML node to bind to.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleannullByDefaultWhether the container should be set to null when no value is specified.booleantrimWhether to trim text content for element nodes.
-
-
-
-
componentType
Class<?> componentType
The type of the objects in this collection.- Returns:
- the type of items
-
-
-
trim
boolean trim
Whether to trim text content for element nodes.- Default:
- true
-
-
-
nullByDefault
boolean nullByDefault
Whether the container should be set to null when no value is specified.- Default:
- false
-
-