Package org.nuxeo.common.xmap.annotation
Annotation Interface XNodeMap
- Author:
- Bogdan Stefanescu
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Whether the container should be set to null when no value is specified.boolean
Whether to trim text content for element nodes.
-
Element Details
-
value
String valueA path expression specifying the XML node to bind to.- Returns:
- the node xpath
-
key
String keyThe path relative to the current node (which is located byvalue()
) which contain the map key to be used. -
type
Class<?> typeThe type of collection object. -
componentType
Class<?> componentTypeThe type of the objects in this collection.- Returns:
- the type of items
-
-
-
trim
boolean trimWhether to trim text content for element nodes.- Default:
- true
-
nullByDefault
boolean nullByDefaultWhether the container should be set to null when no value is specified.- Default:
- false
-