public enum XSDContentTypeCategory extends java.lang.Enum<XSDContentTypeCategory> implements Enumerator
Enum Constant and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
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
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
public static 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 namejava.lang.NullPointerException
- if the argument is nullpublic 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>