org.eclipse.xsd
Class XSDForm

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.xsd.XSDForm
All Implemented Interfaces:
Enumerator

public final class XSDForm
extends AbstractEnumerator

A representation of the literals of the enumeration 'Form'.

See Also:
XSDSchema.getAttributeFormDefault(), XSDSchema.getElementFormDefault(), XSDFeature.getForm(), XSDPackage.getXSDForm()

Field Summary
static int QUALIFIED
          The 'Qualified' literal value
static XSDForm QUALIFIED_LITERAL
          The 'Qualified' literal object
static int UNQUALIFIED
          The 'Unqualified' literal value
static XSDForm UNQUALIFIED_LITERAL
          The 'Unqualified' literal object
static List 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(String literal)
          Returns the 'Form' literal with the specified literal value
static XSDForm getByName(String name)
          Returns the 'Form' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUALIFIED

public static final int QUALIFIED
The 'Qualified' literal value.

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.

See Also:
QUALIFIED_LITERAL, Constant Field Values

UNQUALIFIED

public static final int UNQUALIFIED
The 'Unqualified' literal value.

This is used to indicate that the feature is unqualified, i.e., the value of the 'Target Namespace' attribute will be null.

See Also:
UNQUALIFIED_LITERAL, Constant Field Values

QUALIFIED_LITERAL

public static final XSDForm QUALIFIED_LITERAL
The 'Qualified' literal object.

See Also:
QUALIFIED

UNQUALIFIED_LITERAL

public static final XSDForm UNQUALIFIED_LITERAL
The 'Unqualified' literal object.

See Also:
UNQUALIFIED

VALUES

public static final List VALUES
A public read-only list of all the 'Form' enumerators.

Method Detail

get

public static XSDForm get(String literal)
Returns the 'Form' literal with the specified literal value.


getByName

public static XSDForm getByName(String name)
Returns the 'Form' literal with the specified name.


get

public static XSDForm get(int value)
Returns the 'Form' literal with the specified integer value.


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.