org.eclipse.xsd
Class XSDContentTypeCategory

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

public final class XSDContentTypeCategory
extends org.eclipse.emf.common.util.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 java.util.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 value.
static XSDContentTypeCategory get(java.lang.String name)
          Returns the 'Content Type Category' 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

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

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

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

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

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 java.util.List VALUES
A public read-only list of all the 'Content Type Category' enumerators.
Method Detail

get

public static XSDContentTypeCategory get(java.lang.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 value.

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