Javadoc in this class uses the following sample to explain the semantics:
@XmlEnum(Integer.class)
enum Foo {
@XmlEnumValue("1")
ONE,
@XmlEnumValue("2")
TWO
}
EnumLeafInfo
| Modifier and Type | Method and Description |
|---|---|
| public EnumLeafInfo | |
| public String | |
| public String |
| getEnclosingClass | back to summary |
|---|---|
| public EnumLeafInfo Gets the
| |
| getLexicalValue | back to summary |
|---|---|
| public String getLexicalValue() Lexical value of this constant.
This value should be evaluated against
This is the same value as written in the
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the constant name. In the above example this method return "ONE" and "TWO".
| |