org.eclipse.xsd
Class XSDWhiteSpace

java.lang.Object
  |
  +--org.eclipse.emf.common.util.AbstractEnumerator
        |
        +--org.eclipse.xsd.XSDWhiteSpace
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class XSDWhiteSpace
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'White Space'.

See Also:
XSDWhiteSpaceFacet.getValue(), XSDPackage.getXSDWhiteSpace()

Field Summary
static int COLLAPSE
          The 'Collapse' literal value.
static XSDWhiteSpace COLLAPSE_LITERAL
          The 'Collapse' literal object.
static int PRESERVE
          The 'Preserve' literal value.
static XSDWhiteSpace PRESERVE_LITERAL
          The 'Preserve' literal object.
static int REPLACE
          The 'Replace' literal value.
static XSDWhiteSpace REPLACE_LITERAL
          The 'Replace' literal object.
static java.util.List VALUES
          A public read-only list of all the 'White Space' enumerators.
 
Method Summary
static XSDWhiteSpace get(int value)
          Returns the 'White Space' literal with the specified value.
static XSDWhiteSpace get(java.lang.String name)
          Returns the 'White Space' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PRESERVE

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

This is used to indicate the white space is preserved.

See Also:
PRESERVE_LITERAL

REPLACE

public static final int REPLACE
The 'Replace' literal value.

This is used to indicate the white space is replaced.

See Also:
REPLACE_LITERAL

COLLAPSE

public static final int COLLAPSE
The 'Collapse' literal value.

This is used to indicate the white space is collapsed.

See Also:
COLLAPSE_LITERAL

PRESERVE_LITERAL

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

See Also:
PRESERVE

REPLACE_LITERAL

public static final XSDWhiteSpace REPLACE_LITERAL
The 'Replace' literal object.

See Also:
REPLACE

COLLAPSE_LITERAL

public static final XSDWhiteSpace COLLAPSE_LITERAL
The 'Collapse' literal object.

See Also:
COLLAPSE

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'White Space' enumerators.
Method Detail

get

public static XSDWhiteSpace get(java.lang.String name)
Returns the 'White Space' literal with the specified name.

get

public static XSDWhiteSpace get(int value)
Returns the 'White Space' literal with the specified value.

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