org.eclipse.xsd
Class XSDWhiteSpace

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

public final class XSDWhiteSpace
extends 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 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 integer value
static XSDWhiteSpace get(String literal)
          Returns the 'White Space' literal with the specified literal value
static XSDWhiteSpace getByName(String name)
          Returns the 'White Space' 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

PRESERVE

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

This is used to indicate the white space is preserved.

See Also:
PRESERVE_LITERAL, Constant Field Values

REPLACE

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

This is used to indicate the white space is replaced.

See Also:
REPLACE_LITERAL, Constant Field Values

COLLAPSE

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

This is used to indicate the white space is collapsed.

See Also:
COLLAPSE_LITERAL, Constant Field Values

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 List VALUES
A public read-only list of all the 'White Space' enumerators.

Method Detail

get

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


getByName

public static XSDWhiteSpace getByName(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 integer value.


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