|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XSDContentTypeCategory> org.eclipse.xsd.XSDContentTypeCategory
public enum XSDContentTypeCategory
A representation of the literals of the enumeration 'Content Type Category'.
XSDComplexTypeDefinition.getContentTypeCategory()
,
XSDPackage.getXSDContentTypeCategory()
Enum Constant Summary | |
---|---|
ELEMENT_ONLY_LITERAL
The 'Element Only' literal object |
|
EMPTY_LITERAL
The 'Empty' literal object |
|
MIXED_LITERAL
The 'Mixed' literal object |
|
SIMPLE_LITERAL
The 'Simple' literal object |
Field Summary | |
---|---|
static int |
ELEMENT_ONLY
The 'Element Only' literal value |
static int |
EMPTY
The 'Empty' literal value |
static int |
MIXED
The 'Mixed' literal value |
static int |
SIMPLE
The 'Simple' literal value |
static java.util.List<XSDContentTypeCategory> |
VALUES
A public read-only list of all the 'Content Type Category' enumerators |
Method Summary | |
---|---|
static XSDContentTypeCategory |
get(int value)
Returns the 'Content Type Category' literal with the specified integer value |
static XSDContentTypeCategory |
get(java.lang.String literal)
Returns the 'Content Type Category' literal with the specified literal value |
static XSDContentTypeCategory |
getByName(java.lang.String name)
Returns the 'Content Type Category' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static XSDContentTypeCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static XSDContentTypeCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XSDContentTypeCategory EMPTY_LITERAL
EMPTY
public static final XSDContentTypeCategory SIMPLE_LITERAL
SIMPLE
public static final XSDContentTypeCategory MIXED_LITERAL
MIXED
public static final XSDContentTypeCategory ELEMENT_ONLY_LITERAL
ELEMENT_ONLY
Field Detail |
---|
public static final int EMPTY
This is used to indicate that a complex type definition has empty content.
EMPTY_LITERAL
,
Constant Field Valuespublic static final int SIMPLE
This is used to indicate that a complex type definition has simple content.
SIMPLE_LITERAL
,
Constant Field Valuespublic static final int MIXED
This is used to indicate that a complex type definition has mixed content.
MIXED_LITERAL
,
Constant Field Valuespublic static final int ELEMENT_ONLY
This is used to indicate that a complex type definition has element-only content.
ELEMENT_ONLY_LITERAL
,
Constant Field Valuespublic static final java.util.List<XSDContentTypeCategory> VALUES
Method Detail |
---|
public static final XSDContentTypeCategory[] values()
for(XSDContentTypeCategory c : XSDContentTypeCategory.values()) System.out.println(c);
public static XSDContentTypeCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static XSDContentTypeCategory get(java.lang.String literal)
public static XSDContentTypeCategory getByName(java.lang.String name)
public static XSDContentTypeCategory get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<XSDContentTypeCategory>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |