| java.lang.Object com.sun.tools.xjc.model.CEnumLeafInfo
CEnumLeafInfo | final public class CEnumLeafInfo implements EnumLeafInfo<NType, NClass>,NClass,CNonElement(Code) | | Transducer that converts a string into an "enumeration class."
The structure of the generated class needs to precisely
follow the JAXB spec.
author: Kohsuke KAWAGUCHI |
base | final public CNonElement base(Code) | | Represents the underlying type of this enumeration
and its conversion.
To parse XML into a constant, we use the base type
to do lexical -> value, then use a map to pick up the right one.
Hence this also represents the type of the Java value.
For example, if this is an enumeration of xs:int,
then this field will be Java int.
|
model | final public Model model(Code) | | The
Model object to which this bean belongs.
|
shortName | final public String shortName(Code) | | Short name of the generated type-safe enum.
|
canBeReferencedByIDREF | public boolean canBeReferencedByIDREF()(Code) | | |
getLocation | public Location getLocation()(Code) | | |
getLocator | public Locator getLocator()(Code) | | Source line information that points to the place
where this type-safe enum is defined.
Used to report error messages.
|
getUpstream | public Locatable getUpstream()(Code) | | |
isAbstract | public boolean isAbstract()(Code) | | |
isBoxedType | public boolean isBoxedType()(Code) | | |
isCollection | public boolean isCollection()(Code) | | |
isElement | public boolean isElement()(Code) | | |
isPrimitive | public boolean isPrimitive()(Code) | | |
isSimpleType | public boolean isSimpleType()(Code) | | |
needsValueField | public boolean needsValueField()(Code) | | The spec says the value field in the enum class will be generated
only under certain circumstances.
true if the generated enum class should have the value field. |
|
|