|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnumLeafInfo<T,C>
NonElement
that represents an Enum
class.
Method Summary | |
---|---|
NonElement<T,C> |
getBaseType()
Returns the base type of the enumeration. |
C |
getClazz()
The same as TypeInfo.getType() but an EnumLeafInfo
is guaranteed to represent an enum declaration, which is a
kind of a class declaration. |
java.lang.Iterable<? extends EnumConstant> |
getConstants()
Returns the read-only list of enumeration constants. |
Methods inherited from interface com.sun.xml.bind.v2.model.core.MaybeElement |
---|
asElement, getElementName, isElement |
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
---|
getTypeName, isSimpleType |
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo |
---|
canBeReferencedByIDREF, getType |
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable |
---|
getLocation, getUpstream |
Method Detail |
---|
C getClazz()
TypeInfo.getType()
but an EnumLeafInfo
is guaranteed to represent an enum declaration, which is a
kind of a class declaration.
NonElement<T,C> getBaseType()
For example, with the following enum class, this method
returns BuiltinLeafInfo
for Integer
.
&XmlEnum(Integer.class) enum Foo { &XmlEnumValue("1") ONE, &XmlEnumValue("2") TWO }
java.lang.Iterable<? extends EnumConstant> getConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |