Enum ComplexTypeBindingMode
- java.lang.Object
-
- java.lang.Enum<ComplexTypeBindingMode>
-
- com.sun.tools.xjc.reader.xmlschema.ct.ComplexTypeBindingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ComplexTypeBindingMode>
public enum ComplexTypeBindingMode extends Enum<ComplexTypeBindingMode>
Three-state flag for a complex type.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComplexTypeBindingMode
valueOf(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.
-
-
-
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(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 nameNullPointerException
- if the argument is null
-
-