com.sun.tools.xjc.reader
public static class RawTypeSet.Mode extends Enum<RawTypeSet.Mode>
Field Summary | |
---|---|
static RawTypeSet.Mode | CAN_BE_TYPEREF
This RawTypeSet can be either an reference property or
an element property, and XJC recommends reference property. |
static RawTypeSet.Mode | MUST_BE_REFERENCE
This RawTypeSet can be only bound to a reference property. |
static RawTypeSet.Mode | SHOULD_BE_TYPEREF
This RawTypeSet can be either an reference property or
an element property, and XJC recommends element property. |
static List<RawTypeSet.Mode> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
Constructor Summary | |
---|---|
Mode(int rank) |
Method Summary | |
---|---|
List<RawTypeSet.Mode> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
RawTypeSet.Mode | or(RawTypeSet.Mode that) |
static RawTypeSet.Mode | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(Mode c : Mode.VALUES) System.out.println(c);
VALUES
. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES
.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.