Package org.opengis.annotation
Annotation Type XmlElement
-
@Documented @Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface XmlElement
Maps an interface or a method to the XML type, element or attribute. Interfaces usually map to XML types, while methods map to XML element or attribute. It is not the purpose of this annotation to differentiate types from attributes, since this distinction can already be inferred from Java reflection. This annotation, completed with reflection if needed, should only provides enough information for finding the corresponding XML element in the schema.- Since:
- GeoAPI 2.0
- Author:
- Martin Desruisseaux (IRD)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
value
The name of the element in the XML schema.
-