public final class CEnumConstant extends Object implements EnumConstant<NType,NClass>, CCustomizable
| Modifier and Type | Field and Description |
|---|---|
String |
javadoc
Javadoc comment.
|
String |
name
Name of the constant.
|
| Constructor and Description |
|---|
CEnumConstant(String name,
String javadoc,
String lexical,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
Locator loc) |
| Modifier and Type | Method and Description |
|---|---|
CCustomizations |
getCustomizations()
Gets the list of customizations attached to this model component.
|
CEnumLeafInfo |
getEnclosingClass() |
String |
getLexicalValue() |
Locator |
getLocator()
Gets the source location in the schema from which this model component is created.
|
String |
getName() |
com.sun.xml.xsom.XSComponent |
getSchemaComponent()
If this model object is built from XML Schema,
this property returns a schema component from which the model is built.
|
public final String name
public final String javadoc
public CEnumConstant(String name, String javadoc, String lexical, com.sun.xml.xsom.XSComponent source, CCustomizations customizations, Locator loc)
name - public CEnumLeafInfo getEnclosingClass()
getEnclosingClass in interface EnumConstant<NType,NClass>public String getLexicalValue()
getLexicalValue in interface EnumConstant<NType,NClass>public String getName()
getName in interface EnumConstant<NType,NClass>public com.sun.xml.xsom.XSComponent getSchemaComponent()
CCustomizablegetSchemaComponent in interface CCustomizablepublic CCustomizations getCustomizations()
CCustomizablegetCustomizations in interface CCustomizablePlugin.getCustomizationURIs()public Locator getLocator()
CCustomizablegetLocator in interface CCustomizableCopyright © 2015 Oracle Corporation. All Rights Reserved.