com.sun.tools.xjc.reader.xmlschema.ct
Enum ComplexTypeBindingMode

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

public enum ComplexTypeBindingMode
extends java.lang.Enum<ComplexTypeBindingMode>

Three-state flag for a complex type.


Enum Constant Summary
FALLBACK_CONTENT
          If a complex type has falled back to the general list content and it is not NOMOREEXTENSION.
FALLBACK_EXTENSION
          If a complex type has fallen to the dummy property in order to override previously inherited content.
FALLBACK_REST
          If a complex type has falled back to the rest content and it is not NOMOREEXTENSION.
NORMAL
          Neither FALLBACK nor NOMOREEXTENSION.
 
Method Summary
static ComplexTypeBindingMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComplexTypeBindingMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static ComplexTypeBindingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ComplexTypeBindingMode c : ComplexTypeBindingMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ComplexTypeBindingMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null