Enum ComplexTypeBindingMode

java.lang.Object
java.lang.Enum<ComplexTypeBindingMode>
com.sun.tools.xjc.reader.xmlschema.ct.ComplexTypeBindingMode
All Implemented Interfaces:
Serializable, Comparable<ComplexTypeBindingMode>, java.lang.constant.Constable

public enum ComplexTypeBindingMode extends Enum<ComplexTypeBindingMode>
Three-state flag for a complex type.
Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
  • Enum Constant Details

    • NORMAL

      public static final ComplexTypeBindingMode NORMAL
      Neither FALLBACK nor NOMOREEXTENSION.
    • FALLBACK_CONTENT

      public static final ComplexTypeBindingMode FALLBACK_CONTENT
      If a complex type has falled back to the general list content and it is not NOMOREEXTENSION.
    • FALLBACK_REST

      public static final ComplexTypeBindingMode FALLBACK_REST
      If a complex type has falled back to the rest content and it is not NOMOREEXTENSION.
    • FALLBACK_EXTENSION

      public static final ComplexTypeBindingMode FALLBACK_EXTENSION
      If a complex type has fallen to the dummy property in order to override previously inherited content.
  • Method Details

    • values

      public static ComplexTypeBindingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ComplexTypeBindingMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null