ecologylab.xml
Annotation Type ElementState.xml_class


@Retention(value=RUNTIME)
@Inherited
public static @interface ElementState.xml_class

Supplementary metalanguage declaration that can be applied only to a field. The argument is a single Class object.

Annotation forms a tag name from the class name, using camel case conversion. It then creates a mapping from the tag and class name to the field it is applied to, so that translateFromXML(...) will set a value based on an element with the tag, if field is also declared with @xml_nested, or collect values when elements have the tag, if the field is declared with @xml_collection.


Required Element Summary
 java.lang.Class value
           
 

Element Detail

value

public abstract java.lang.Class value