Annotation Interface XmlAttribute


@Retention(RUNTIME) @Target(FIELD) @Deprecated public @interface XmlAttribute
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 attribute.
    boolean
    Deprecated.
    Specifies if the XML Schema attribute is optional or required.
  • Element Details

    • name

      String name
      Deprecated.
      Name of the XML Schema attribute. By default, the XML Schema attribute name is derived from the JavaBean property name.
      Returns:
      Name
      Default:
      "##default"
    • required

      boolean required
      Deprecated.
      Specifies if the XML Schema attribute is optional or required. If true, then the JavaBean property is mapped to a XML Schema attribute that is required. Otherwise it is mapped to a XML Schema attribute that is optional.
      Returns:
      Required
      Default:
      false