|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.StringEnumAbstractBase.Table
public static final class StringEnumAbstractBase.Table
Used to manage singleton instances of enumerations. Each subclass of StringEnumAbstractBase has an instance of a table to hold the singleton instances.
Constructor Summary | |
---|---|
StringEnumAbstractBase.Table(StringEnumAbstractBase[] array)
|
Method Summary | |
---|---|
StringEnumAbstractBase |
forInt(int i)
Returns the singleton for an int code, or null if none. |
StringEnumAbstractBase |
forString(java.lang.String s)
Returns the singleton for a String , or null if none. |
int |
lastInt()
Returns the last valid int code (the first is 1; zero is not used). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringEnumAbstractBase.Table(StringEnumAbstractBase[] array)
Method Detail |
---|
public StringEnumAbstractBase forString(java.lang.String s)
String
, or null if none.
public StringEnumAbstractBase forInt(int i)
public int lastInt()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |