org.eclipse.xsd
Class XSDContentTypeCategory

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

public final class XSDContentTypeCategory
extends AbstractEnumerator

A representation of the literals of the enumeration 'Content Type Category'.

See Also:
XSDComplexTypeDefinition.getContentTypeCategory(), XSDPackage.getXSDContentTypeCategory()

Field Summary
static int ELEMENT_ONLY
          The 'Element Only' literal value
static XSDContentTypeCategory ELEMENT_ONLY_LITERAL
          The 'Element Only' literal object
static int EMPTY
          The 'Empty' literal value
static XSDContentTypeCategory EMPTY_LITERAL
          The 'Empty' literal object
static int MIXED
          The 'Mixed' literal value
static XSDContentTypeCategory MIXED_LITERAL
          The 'Mixed' literal object
static int SIMPLE
          The 'Simple' literal value
static XSDContentTypeCategory SIMPLE_LITERAL
          The 'Simple' literal object
static List VALUES
          A public read-only list of all the 'Content Type Category' enumerators
 
Method Summary
static XSDContentTypeCategory get(int value)
          Returns the 'Content Type Category' literal with the specified integer value
static XSDContentTypeCategory get(String literal)
          Returns the 'Content Type Category' literal with the specified literal value
static XSDContentTypeCategory getByName(String name)
          Returns the 'Content Type Category' 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

EMPTY

public static final int EMPTY
The 'Empty' literal value.

This is used to indicate that a complex type definition has empty content.

See Also:
EMPTY_LITERAL, Constant Field Values

SIMPLE

public static final int SIMPLE
The 'Simple' literal value.

This is used to indicate that a complex type definition has simple content.

See Also:
SIMPLE_LITERAL, Constant Field Values

MIXED

public static final int MIXED
The 'Mixed' literal value.

This is used to indicate that a complex type definition has mixed content.

See Also:
MIXED_LITERAL, Constant Field Values

ELEMENT_ONLY

public static final int ELEMENT_ONLY
The 'Element Only' literal value.

This is used to indicate that a complex type definition has element-only content.

See Also:
ELEMENT_ONLY_LITERAL, Constant Field Values

EMPTY_LITERAL

public static final XSDContentTypeCategory EMPTY_LITERAL
The 'Empty' literal object.

See Also:
EMPTY

SIMPLE_LITERAL

public static final XSDContentTypeCategory SIMPLE_LITERAL
The 'Simple' literal object.

See Also:
SIMPLE

MIXED_LITERAL

public static final XSDContentTypeCategory MIXED_LITERAL
The 'Mixed' literal object.

See Also:
MIXED

ELEMENT_ONLY_LITERAL

public static final XSDContentTypeCategory ELEMENT_ONLY_LITERAL
The 'Element Only' literal object.

See Also:
ELEMENT_ONLY

VALUES

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

Method Detail

get

public static XSDContentTypeCategory get(String literal)
Returns the 'Content Type Category' literal with the specified literal value.


getByName

public static XSDContentTypeCategory getByName(String name)
Returns the 'Content Type Category' literal with the specified name.


get

public static XSDContentTypeCategory get(int value)
Returns the 'Content Type Category' literal with the specified integer value.


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