public enum XSDForm extends java.lang.Enum<XSDForm> implements Enumerator
Enum Constant and Description |
---|
QUALIFIED_LITERAL
The 'Qualified' literal object.
|
UNQUALIFIED_LITERAL
The 'Unqualified' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
QUALIFIED
The 'Qualified' literal value.
|
static int |
UNQUALIFIED
The 'Unqualified' literal value.
|
static java.util.List<XSDForm> |
VALUES
A public read-only list of all the 'Form' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static XSDForm |
get(int value)
Returns the 'Form' literal with the specified integer value.
|
static XSDForm |
get(java.lang.String literal)
Returns the 'Form' literal with the specified literal value.
|
static XSDForm |
getByName(java.lang.String name)
Returns the 'Form' 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 XSDForm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XSDForm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSDForm QUALIFIED_LITERAL
QUALIFIED
public static final XSDForm UNQUALIFIED_LITERAL
UNQUALIFIED
public static final int QUALIFIED
This is used to indicate that the feature
is qualified,
i.e., the value of the 'Target Namespace
' attribute
will be that of the schema
.
QUALIFIED_LITERAL
,
Constant Field Valuespublic static final int UNQUALIFIED
This is used to indicate that the feature
is unqualified,
i.e., the value of the 'Target Namespace
' attribute
will be null
.
UNQUALIFIED_LITERAL
,
Constant Field Valuespublic static final java.util.List<XSDForm> VALUES
public static XSDForm[] values()
for (XSDForm c : XSDForm.values()) System.out.println(c);
public static XSDForm 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 XSDForm get(java.lang.String literal)
public static XSDForm getByName(java.lang.String name)
public static XSDForm 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<XSDForm>