org.odftoolkit.odfdom.dom.attribute.fo
public static enum FoFontVariantAttribute.Value extends Enum<FoFontVariantAttribute.Value>
Enum Constant and Description |
---|
NORMAL |
SMALL_CAPS |
Modifier and Type | Method and Description |
---|---|
static FoFontVariantAttribute.Value |
enumValueOf(String value) |
String |
toString() |
static FoFontVariantAttribute.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FoFontVariantAttribute.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FoFontVariantAttribute.Value NORMAL
public static final FoFontVariantAttribute.Value SMALL_CAPS
public static FoFontVariantAttribute.Value[] values()
for (FoFontVariantAttribute.Value c : FoFontVariantAttribute.Value.values()) System.out.println(c);
public static FoFontVariantAttribute.Value 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<FoFontVariantAttribute.Value>
public static FoFontVariantAttribute.Value enumValueOf(String value)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.