|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XSDForm> org.eclipse.xsd.XSDForm
public enum XSDForm
A representation of the literals of the enumeration 'Form'.
XSDSchema.getAttributeFormDefault()
,
XSDSchema.getElementFormDefault()
,
XSDFeature.getForm()
,
XSDPackage.getXSDForm()
Enum Constant Summary | |
---|---|
QUALIFIED_LITERAL
The 'Qualified' literal object |
|
UNQUALIFIED_LITERAL
The 'Unqualified' literal object |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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'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 XSDForm QUALIFIED_LITERAL
QUALIFIED
public static final XSDForm UNQUALIFIED_LITERAL
UNQUALIFIED
Field Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic 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>
|
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 |