StringEnumAbstractBase.Table Class

com.bea.xml
StringEnumAbstractBase.Table Class

public static final class StringEnumAbstractBase.Table

    extends Object

Used to manage singleton instances of enumerations. Each subclass of StringEnumAbstractBase has an instance of a table to hold the singleton instances.


Hierarchy
Object
  StringEnumAbstractBase.Table
Enclosing class

StringEnumAbstractBase

Constructor Summary

StringEnumAbstractBase.Table(StringEnumAbstractBase array)

 

Method Summary

public StringEnumAbstractBase
forInt(int i)
Returns the singleton for an int code, or null if none.
public StringEnumAbstractBase
forString(String s)
Returns the singleton for a String, or null if none.
public int
lastInt()
Returns the last valid int code (the first is 1; zero is not used).
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

StringEnumAbstractBase.Table

public StringEnumAbstractBase.Table(StringEnumAbstractBase[] array)
 

Method Detail

forInt(int) Method

public StringEnumAbstractBase forInt(int i)
Returns the singleton for an int code, or null if none.


forString(String) Method

public StringEnumAbstractBase forString(String s)
Returns the singleton for a String, or null if none.


lastInt() Method

public int lastInt()
Returns the last valid int code (the first is 1; zero is not used).