Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common.xmap.annotation
Annotation Type XNodeList


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface XNodeList

Author:
Bogdan Stefanescu

Required Element Summary
 Class componentType
          The type of the objects in this collection.
 Class type
          The type of a collection object.
 String value
          A path expression specifying the XML node to bind to.
 
Optional Element Summary
 boolean nullByDefault
          Whether the container should be set to null when not specified in the XML file.
 boolean trim
          Whether to trim text content for element nodes.
 

Element Detail

value

public abstract String value
A path expression specifying the XML node to bind to.

Returns:
the node xpath

type

public abstract Class type
The type of a collection object.

Returns:
the type of items

componentType

public abstract Class componentType
The type of the objects in this collection.

Returns:
the type of items

trim

public abstract boolean trim
Whether to trim text content for element nodes.

Default:
true

nullByDefault

public abstract boolean nullByDefault
Whether the container should be set to null when not specified in the XML file.

Default:
false

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.