org.eclipse.xsd
Class XSDDerivationMethod

java.lang.Object
  extended byAbstractEnumerator
      extended byorg.eclipse.xsd.XSDDerivationMethod

public final class XSDDerivationMethod
extends AbstractEnumerator

A representation of the literals of the enumeration 'Derivation Method'.

See Also:
XSDComplexTypeDefinition.getDerivationMethod(), XSDPackage.getXSDDerivationMethod(), Serialized Form

Field Summary
static int EXTENSION
          The 'Extension' literal value
static XSDDerivationMethod EXTENSION_LITERAL
          The 'Extension' literal object
static int RESTRICTION
          The 'Restriction' literal value
static XSDDerivationMethod RESTRICTION_LITERAL
          The 'Restriction' literal object
static List VALUES
          A public read-only list of all the 'Derivation Method' enumerators
 
Method Summary
static XSDDerivationMethod get(int value)
          Returns the 'Derivation Method' literal with the specified value
static XSDDerivationMethod get(String name)
          Returns the 'Derivation Method' literal with the specified name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION

public static final int EXTENSION
The 'Extension' literal value.

This is used to indicate that a complex type definition is derived via extension.

See Also:
EXTENSION_LITERAL, Constant Field Values

RESTRICTION

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

This is used to indicate that a complex type definition is derived via restriction.

See Also:
RESTRICTION_LITERAL, Constant Field Values

EXTENSION_LITERAL

public static final XSDDerivationMethod EXTENSION_LITERAL
The 'Extension' literal object.

See Also:
EXTENSION

RESTRICTION_LITERAL

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

See Also:
RESTRICTION

VALUES

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

Method Detail

get

public static XSDDerivationMethod get(String name)
Returns the 'Derivation Method' literal with the specified name.


get

public static XSDDerivationMethod get(int value)
Returns the 'Derivation Method' literal with the specified value.


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