org.odftoolkit.odfdom.type
public enum TargetFrameName extends Enum<TargetFrameName> implements OdfDataType
Modifier and Type | Method and Description |
---|---|
static TargetFrameName |
enumValueOf(String stringValue)
String to enum, turns a String into its corresponding enum constant
|
static boolean |
isValid(String stringValue)
check if the specified String is a valid targetFrameName data type
|
String |
toString()
gets the name of this enum.
|
static String |
toString(TargetFrameName aEnum)
enum to String, gets the name of this enum constant as a string.
|
static TargetFrameName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetFrameName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetFrameName _SELF
public static final TargetFrameName _BLANK
public static final TargetFrameName _PARENT
public static final TargetFrameName _TOP
public static TargetFrameName[] values()
for (TargetFrameName c : TargetFrameName.values()) System.out.println(c);
public static TargetFrameName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<TargetFrameName>
public static String toString(TargetFrameName aEnum)
aEnum
- the constant of TargetFrameNamepublic static TargetFrameName enumValueOf(String stringValue)
stringValue
- the name of OdfTargetFrameNameTypepublic static boolean isValid(String stringValue)
stringValue
- the value to be testedCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.