public enum XSDNamespaceConstraintCategory extends java.lang.Enum<XSDNamespaceConstraintCategory> implements Enumerator
Enum Constant and Description |
---|
ANY_LITERAL
The 'Any' literal object.
|
NOT_LITERAL
The 'Not' literal object.
|
SET_LITERAL
The 'Set' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ANY
The 'Any' literal value.
|
static int |
NOT
The 'Not' literal value.
|
static int |
SET
The 'Set' literal value.
|
static java.util.List<XSDNamespaceConstraintCategory> |
VALUES
A public read-only list of all the 'Namespace Constraint Category' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static XSDNamespaceConstraintCategory |
get(int value)
Returns the 'Namespace Constraint Category' literal with the specified integer value.
|
static XSDNamespaceConstraintCategory |
get(java.lang.String literal)
Returns the 'Namespace Constraint Category' literal with the specified literal value.
|
static XSDNamespaceConstraintCategory |
getByName(java.lang.String name)
Returns the 'Namespace Constraint 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 XSDNamespaceConstraintCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XSDNamespaceConstraintCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSDNamespaceConstraintCategory ANY_LITERAL
ANY
public static final XSDNamespaceConstraintCategory NOT_LITERAL
NOT
public static final XSDNamespaceConstraintCategory SET_LITERAL
SET
public static final int ANY
This is used to indicate that any namespace is matched.
ANY_LITERAL
,
Constant Field Valuespublic static final int NOT
This is used to indicate that any namespace not in the (singleton) set is matched.
NOT_LITERAL
,
Constant Field Valuespublic static final int SET
This is used to indicate that any namespace in the set is matched.
SET_LITERAL
,
Constant Field Valuespublic static final java.util.List<XSDNamespaceConstraintCategory> VALUES
public static XSDNamespaceConstraintCategory[] values()
for (XSDNamespaceConstraintCategory c : XSDNamespaceConstraintCategory.values()) System.out.println(c);
public static XSDNamespaceConstraintCategory 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 XSDNamespaceConstraintCategory get(java.lang.String literal)
public static XSDNamespaceConstraintCategory getByName(java.lang.String name)
public static XSDNamespaceConstraintCategory 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<XSDNamespaceConstraintCategory>