Annotation Type XmlElement

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.

GeoAPI 2.0
Martin Desruisseaux (IRD)

Required Element Summary
 String value
          The name of the element in the XML schema.

Element Detail


public abstract String value
The name of the element in the XML schema.

The XML element name.

Copyright © 1996-2014 Geotools. All Rights Reserved.