Package org.apache.xmlbeans
Class StringEnumAbstractBase.Table
java.lang.Object
org.apache.xmlbeans.StringEnumAbstractBase.Table
- Enclosing class:
StringEnumAbstractBase
Used to manage singleton instances of enumerations.
Each subclass of StringEnumAbstractBase has an instance
of a table to hold the singleton instances.
-
Constructor Details
-
Table
-
-
Method Details
-
forString
Returns the singleton for aString
, or null if none. -
forInt
Returns the singleton for an int code, or null if none. -
lastInt
public int lastInt()Returns the last valid int code (the first is 1; zero is not used).
-