org.eclipse.emf.ecore.xml.namespace
Class SpaceType

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.emf.ecore.xml.namespace.SpaceType
All Implemented Interfaces:
Enumerator

public final class SpaceType
extends AbstractEnumerator

A representation of the literals of the enumeration 'Space Type', and utility methods for working with them.

See Also:
XMLNamespacePackage.getSpaceType()

Field Summary
static int DEFAULT
          The 'Default' literal value
static SpaceType DEFAULT_LITERAL
          The 'Default' literal object
static int PRESERVE
          The 'Preserve' literal value
static SpaceType PRESERVE_LITERAL
          The 'Preserve' literal object
static List VALUES
          A public read-only list of all the 'Space Type' enumerators
 
Method Summary
static SpaceType get(int value)
          Returns the 'Space Type' literal with the specified integer value
static SpaceType get(String literal)
          Returns the 'Space Type' literal with the specified literal value
static SpaceType getByName(String name)
          Returns the 'Space Type' 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

DEFAULT

public static final int DEFAULT
The 'Default' literal value.

See Also:
DEFAULT_LITERAL, Constant Field Values

PRESERVE

public static final int PRESERVE
The 'Preserve' literal value.

See Also:
PRESERVE_LITERAL, Constant Field Values

DEFAULT_LITERAL

public static final SpaceType DEFAULT_LITERAL
The 'Default' literal object.

If the meaning of 'Default' literal object isn't clear, there really should be more of a description here...

See Also:
DEFAULT

PRESERVE_LITERAL

public static final SpaceType PRESERVE_LITERAL
The 'Preserve' literal object.

If the meaning of 'Preserve' literal object isn't clear, there really should be more of a description here...

See Also:
PRESERVE

VALUES

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

Method Detail

get

public static SpaceType get(String literal)
Returns the 'Space Type' literal with the specified literal value.


getByName

public static SpaceType getByName(String name)
Returns the 'Space Type' literal with the specified name.


get

public static SpaceType get(int value)
Returns the 'Space Type' literal with the specified integer value.


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