org.eclipse.xsd
Class XSDXPathVariety

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

public final class XSDXPathVariety
extends 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 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(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, Constant Field Values

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, Constant Field Values

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

Method Detail

get

public static XSDXPathVariety get(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-2004 IBM Corporation and others.
All Rights Reserved.