CCustomizable, com.sun.xml.bind.v2.model.core.EnumConstant<NType,NClass>public final class CEnumConstant extends java.lang.Object implements com.sun.xml.bind.v2.model.core.EnumConstant<NType,NClass>, CCustomizable
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
javadoc |
Javadoc comment.
|
java.lang.String |
name |
Name of the constant.
|
| Constructor | Description |
|---|---|
CEnumConstant(java.lang.String name,
java.lang.String javadoc,
java.lang.String lexical,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator loc) |
| Modifier and Type | Method | Description |
|---|---|---|
CCustomizations |
getCustomizations() |
Gets the list of customizations attached to this model component.
|
CEnumLeafInfo |
getEnclosingClass() |
|
java.lang.String |
getLexicalValue() |
|
org.xml.sax.Locator |
getLocator() |
Gets the source location in the schema from which this model component is created.
|
java.lang.String |
getName() |
|
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 java.lang.String name
public final java.lang.String javadoc
public CEnumConstant(java.lang.String name,
java.lang.String javadoc,
java.lang.String lexical,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator loc)
name - public CEnumLeafInfo getEnclosingClass()
public java.lang.String getLexicalValue()
public java.lang.String getName()
public XSComponent getSchemaComponent()
CCustomizablegetSchemaComponent in interface CCustomizablepublic CCustomizations getCustomizations()
CCustomizablegetCustomizations in interface CCustomizablePlugin.getCustomizationURIs()public org.xml.sax.Locator getLocator()
CCustomizablegetLocator in interface CCustomizableCopyright © 2018 Oracle Corporation. All rights reserved.