ecologylab.xml
Annotation Type ElementState.xml_leaf


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Inherited
public static @interface ElementState.xml_leaf

Metalanguage declaration that tells ecologylab.xml translators that each Field it is applied to as an annotation is a scalar-value, which should be represented in XML as a leaf node: an XML element with a single text node child, which represents the value.

Can be passed the optional argument CDATA (a constant defined here), to make a CDATA declaration in the XML for the leaf node.

The node name will be derived from the field name, using camel case conversion, unless @xml_tag is used.

Author:
andruid

Optional Element Summary
 int value
           
 

value

public abstract int value
Default:
0