org.eclipse.xsd
Class XSDXPathVariety

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

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

A representation of the literals of the enumeration 'XPath Variety'.

See Also:
XSDXPathDefinition.getVariety(), XSDPackage.getXSDXPathVariety()

Field Summary
static int FIELD
          The 'Field' literal value.
static XSDXPathVariety FIELD_LITERAL
          The 'Field' literal object.
static int SELECTOR
          The 'Selector' literal value.
static XSDXPathVariety SELECTOR_LITERAL
          The 'Selector' literal object.
static java.util.List VALUES
          A public read-only list of all the 'XPath Variety' enumerators.
 
Method Summary
static XSDXPathVariety get(int value)
          Returns the 'XPath Variety' literal with the specified value.
static XSDXPathVariety get(java.lang.String name)
          Returns the 'XPath Variety' 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

SELECTOR

public static final int SELECTOR
The 'Selector' literal value.

This is used to indicate that the XPath definition is a selector.

See Also:
SELECTOR_LITERAL

FIELD

public static final int FIELD
The 'Field' literal value.

This is used to indicate that the XPath definition is a field.

See Also:
FIELD_LITERAL

SELECTOR_LITERAL

public static final XSDXPathVariety SELECTOR_LITERAL
The 'Selector' literal object.

See Also:
SELECTOR

FIELD_LITERAL

public static final XSDXPathVariety FIELD_LITERAL
The 'Field' literal object.

See Also:
FIELD

VALUES

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

get

public static XSDXPathVariety get(java.lang.String name)
Returns the 'XPath Variety' literal with the specified name.

get

public static XSDXPathVariety get(int value)
Returns the 'XPath Variety' literal with the specified value.

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