|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OdfType>
org.odftoolkit.odfdom.dom.type.config.OdfType
public enum OdfType
DOM implementation of OpenDocument attribute config:type.
| Enum Constant Summary | |
|---|---|
BASE64BINARY
|
|
BOOLEAN
|
|
DATETIME
|
|
DOUBLE
|
|
INT
|
|
LONG
|
|
SHORT
|
|
STRING
|
|
| Method Summary | |
|---|---|
static OdfType |
enumValueOf(String stringValue)
String to enum, turns a String into its corresponding enum constant |
String |
toString()
gets the name of this enum. |
static String |
toString(OdfType enumeration)
enum to String, gets the name of this enum constant as a string. |
static OdfType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OdfType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OdfType DATETIME
public static final OdfType DOUBLE
public static final OdfType LONG
public static final OdfType BOOLEAN
public static final OdfType STRING
public static final OdfType INT
public static final OdfType BASE64BINARY
public static final OdfType SHORT
| Method Detail |
|---|
public static OdfType[] values()
for (OdfType c : OdfType.values()) System.out.println(c);
public static OdfType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<OdfType>public static String toString(OdfType enumeration)
enumeration - the constant of OdfType, see config:type
public static OdfType enumValueOf(String stringValue)
stringValue - the name of OdfType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||