Nuxeo ECM Projects 5.4.3-SNAPSHOT

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


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

Author:
Bogdan Stefanescu

Optional Element Summary
 boolean trim
          Whether to trim text content for element nodes.
 String value
          An xpathy expression specifying the XML node to bind to.
 

value

public abstract String value
An xpathy expression specifying the XML node to bind to.

Returns:
the node xpath
Default:
""

trim

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

Ignored for attribute nodes.

Default:
true

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.