org.gxml.sa
Enum GxVariantKind

java.lang.Object
  extended by java.lang.Enum<GxVariantKind>
      extended by org.gxml.sa.GxVariantKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GxVariantKind>

public enum GxVariantKind
extends java.lang.Enum<GxVariantKind>

Used to indicate the nature of Data Model sequences.


Enum Constant Summary
ATOM
           
ATOMS
           
BOOLEAN
          The sequence consists of an xs:boolean
DECIMAL
          The sequence consists of an xs:decimal
DOUBLE
          The sequence consists of an xs:double
EMPTY
          The sequence is empty.
INTEGER
          The sequence consists of an xs:integer
ITEM
           
ITEMS
           
NODE
           
NODES
           
STRING
          The sequence consists of an xs:string
 
Method Summary
static GxVariantKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GxVariantKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMPTY

public static final GxVariantKind EMPTY
The sequence is empty.


BOOLEAN

public static final GxVariantKind BOOLEAN
The sequence consists of an xs:boolean


STRING

public static final GxVariantKind STRING
The sequence consists of an xs:string


DOUBLE

public static final GxVariantKind DOUBLE
The sequence consists of an xs:double


DECIMAL

public static final GxVariantKind DECIMAL
The sequence consists of an xs:decimal


INTEGER

public static final GxVariantKind INTEGER
The sequence consists of an xs:integer


ITEMS

public static final GxVariantKind ITEMS

ITEM

public static final GxVariantKind ITEM

NODES

public static final GxVariantKind NODES

NODE

public static final GxVariantKind NODE

ATOMS

public static final GxVariantKind ATOMS

ATOM

public static final GxVariantKind ATOM
Method Detail

values

public static GxVariantKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GxVariantKind c : GxVariantKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GxVariantKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.