com.sun.tools.xjc.reader.xmlschema.bindinfo
final class BIEnum extends AbstractDeclarationImpl
This customization binds a simple type to a type-safe enum class. The actual binding process takes place in SimpleTypeBuilder.
This customization is acknowledged by SimpleTypeBuilder.
| Nested Class Summary | |
|---|---|
| static class | BIEnum.BIEnumMember2
BIEnumMember used inside BIEnum has additional 'value' attribute. |
| Field Summary | |
|---|---|
| String | className Gets the specified class name, or null if not specified. |
| String | javadoc
Gets the javadoc comment specified in the customization.
|
| boolean | map
If false, it means not to bind to a type-safe enum.
this takes precedence over all the other properties of this class. |
| Map<String,BIEnumMember> | members
Gets the map that contains XML value->BIEnumMember pairs.
|
| static QName | NAME Name of this declaration. |
| String | ref |
| Method Summary | |
|---|---|
| QName | getName() |
| boolean | isMapped() |
| void | setMembers(BIEnum.BIEnumMember2[] mems) |
| void | setParent(BindInfo p) |
See Also: getExistingClassRef