NonElement that represents an Enum class.
| Modifier and Type | Method and Description |
|---|---|
| public NonElement | |
| public C | |
| public Iterable | Returns: never null. Can be empty (really?).Returns the read-only list of enumeration constants. |
| getBaseType | back to summary |
|---|---|
| public NonElement Returns the base type of the enumeration.
For example, with the following enum class, this method
returns
&XmlEnum(Integer.class)
enum Foo {
&XmlEnumValue("1")
ONE,
&XmlEnumValue("2")
TWO
}
| |
| getClazz | back to summary |
|---|---|
| public C getClazz() The same as
| |
| getConstants | back to summary |
|---|---|
| public Iterable Returns the read-only list of enumeration constants.
| |