ecologylab.xml
Annotation Type ElementState.xml_scope
@Retention(value=RUNTIME)
@Inherited
public static @interface ElementState.xml_scope
Supplementary metalanguage declaration that can be applied only to a field.
The argument is the name of a TranslationScope.
Annotation uses the argument to lookup a TranslationScope.
If there is none, a warning is provided.
Otherwise, mappings are created for tag names associated with each class in the TranslationScope.
It then creates a mapping from the tag and class names to the field it is applied to,
so that translateFromXML(...) will set a value based on an element with the tags,
if field is also declared with @xml_nested,
or collect values when elements have the tags, if the field is declared with @xml_collection.
|
Required Element Summary |
java.lang.String |
value
|
value
public abstract java.lang.String value