Annotation Interface XmlType


@Retention(RUNTIME) @Target(TYPE) @Deprecated public @interface XmlType
Deprecated.
Author:
Serhiy_Zahriychuk Date: Oct 14, 2008
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    Name of the XML Schema type which the class is mapped.
    Deprecated.
    Specifies the order for XML Schema elements when class is mapped to a XML Schema complex type.
  • Element Details

    • name

      String name
      Deprecated.
      Name of the XML Schema type which the class is mapped.
      Default:
      "##default"
    • propOrder

      String[] propOrder
      Deprecated.
      Specifies the order for XML Schema elements when class is mapped to a XML Schema complex type.

      Refer to the table for how the propOrder affects the mapping of class

      The propOrder is a list of names of JavaBean properties in the class. Each name in the list is the name of a Java identifier of the JavaBean property. The order in which JavaBean properties are listed is the order of XML Schema elements to which the JavaBean properties are mapped.

      All of the JavaBean properties being mapped to XML Schema elements must be listed.

      A JavaBean property or field listed in propOrder must not be transient or annotated with @XmlTransient.

      The default ordering of JavaBean properties is determined by @XmlAccessorOrder.

      Default:
      {""}