org.eclipse.xsd
Class XSDSimpleFinal

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

public final class XSDSimpleFinal
extends AbstractEnumerator

A representation of the literals of the enumeration 'Simple Final'.

See Also:
XSDSimpleTypeDefinition.getFinal(), XSDSimpleTypeDefinition.getLexicalFinal(), XSDPackage.getXSDSimpleFinal()

Field Summary
static int ALL
          The 'All' literal value
static XSDSimpleFinal ALL_LITERAL
          The 'All' literal object
static int LIST
          The 'List' literal value
static XSDSimpleFinal LIST_LITERAL
          The 'List' literal object
static int RESTRICTION
          The 'Restriction' literal value
static XSDSimpleFinal RESTRICTION_LITERAL
          The 'Restriction' literal object
static int UNION
          The 'Union' literal value
static XSDSimpleFinal UNION_LITERAL
          The 'Union' literal object
static List VALUES
          A public read-only list of all the 'Simple Final' enumerators
 
Method Summary
static XSDSimpleFinal get(int value)
          Returns the 'Simple Final' literal with the specified integer value
static XSDSimpleFinal get(String literal)
          Returns the 'Simple Final' literal with the specified literal value
static XSDSimpleFinal getByName(String name)
          Returns the 'Simple Final' 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

LIST

public static final int LIST
The 'List' literal value.

This is used to indicate that no derivation via list is allowed for a simple type definition.

See Also:
LIST_LITERAL, Constant Field Values

RESTRICTION

public static final int RESTRICTION
The 'Restriction' literal value.

This is used to indicate that no derivation via restriction is allowed for a simple type definition.

See Also:
RESTRICTION_LITERAL, Constant Field Values

UNION

public static final int UNION
The 'Union' literal value.

This is used to indicate that no derivation via union is allowed for a simple type definition.

See Also:
UNION_LITERAL, Constant Field Values

ALL

public static final int ALL
The 'All' literal value.

This is used to indicate that no derivation is allowed for a simple type definition. It is literally expanded to list, restriction, and union in the infoset model.

See Also:
ALL_LITERAL, Constant Field Values

LIST_LITERAL

public static final XSDSimpleFinal LIST_LITERAL
The 'List' literal object.

See Also:
LIST

RESTRICTION_LITERAL

public static final XSDSimpleFinal RESTRICTION_LITERAL
The 'Restriction' literal object.

See Also:
RESTRICTION

UNION_LITERAL

public static final XSDSimpleFinal UNION_LITERAL
The 'Union' literal object.

See Also:
UNION

ALL_LITERAL

public static final XSDSimpleFinal ALL_LITERAL
The 'All' literal object.

See Also:
ALL

VALUES

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

Method Detail

get

public static XSDSimpleFinal get(String literal)
Returns the 'Simple Final' literal with the specified literal value.


getByName

public static XSDSimpleFinal getByName(String name)
Returns the 'Simple Final' literal with the specified name.


get

public static XSDSimpleFinal get(int value)
Returns the 'Simple Final' literal with the specified integer value.


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