org.apache.geronimo.xbeans.j2ee
Class AuthMethodType.Enum

java.lang.Object
  extended byorg.apache.xmlbeans.StringEnumAbstractBase
      extended byorg.apache.geronimo.xbeans.j2ee.AuthMethodType.Enum
All Implemented Interfaces:
Serializable
Enclosing class:
AuthMethodType

public static final class AuthMethodType.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase

Enumeration value class for org.apache.geronimo.xbeans.j2ee.AuthMethodType. These enum values can be used as follows:

 enum.toString(); // returns the string value of the enum
 enum.intValue(); // returns an int value, useful for switches
 // e.g., case Enum.INT_BASIC
 Enum.forString(s); // returns the enum value for a string
 Enum.forInt(i); // returns the enum value for an int
 
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.xmlbeans.StringEnumAbstractBase
org.apache.xmlbeans.StringEnumAbstractBase.Table
 
Field Summary
static org.apache.xmlbeans.StringEnumAbstractBase.Table table
           
 
Method Summary
static AuthMethodType.Enum forInt(int i)
          Returns the enum value corresponding to an int, or null if none.
static AuthMethodType.Enum forString(String s)
          Returns the enum value for a string, or null if none.
 
Methods inherited from class org.apache.xmlbeans.StringEnumAbstractBase
hashCode, intValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
Method Detail

forString

public static AuthMethodType.Enum forString(String s)
Returns the enum value for a string, or null if none.


forInt

public static AuthMethodType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.