|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XSDNamespaceConstraintCategory> org.eclipse.xsd.XSDNamespaceConstraintCategory
public enum XSDNamespaceConstraintCategory
A representation of the literals of the enumeration 'Namespace Constraint Category'.
XSDWildcard.getNamespaceConstraintCategory()
,
XSDWildcard.getNamespaceConstraint()
,
XSDPackage.getXSDNamespaceConstraintCategory()
Enum Constant Summary | |
---|---|
ANY_LITERAL
The 'Any' literal object |
|
NOT_LITERAL
The 'Not' literal object |
|
SET_LITERAL
The 'Set' literal object |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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'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 XSDNamespaceConstraintCategory ANY_LITERAL
ANY
public static final XSDNamespaceConstraintCategory NOT_LITERAL
NOT
public static final XSDNamespaceConstraintCategory SET_LITERAL
SET
Field Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic 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>
|
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 |