|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AxslProperty>
org.foray.fotree.axsl.AxslProperty
public enum AxslProperty
An enumeration for XSL-FO properties, that is, the identification of the property itself, as opposed to its value.
Enum Constant Summary | |
---|---|
METADATA_KEY
Constant indicating a "metadata-key" FO property. |
Method Summary | |
---|---|
String |
toStringUnparsed()
Returns the XSL-FO name for this instance. |
static AxslProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AxslProperty[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
static AxslProperty |
xslValueOf(String xslName)
Similar to the Java 1.5 Enum valueOf(String) method, but operates on the XSL-FO name of the property instead of its enumerated name. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AxslProperty METADATA_KEY
Method Detail |
---|
public static AxslProperty[] values()
for (AxslProperty c : AxslProperty.values()) System.out.println(c);
public static AxslProperty 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 toStringUnparsed()
METADATA_KEY
converts
to the XSL-FO name "metadata-key".
toStringUnparsed
in interface PropertyType
public static AxslProperty xslValueOf(String xslName)
METADATA_KEY
.
The Java 1.5 Enum valueOf(String) method would operate on the enum name
"METADATA_KEY".
This method instead operates on "metadata-key".
xslName
- The name of the XSL-FO property for which the enumerated
value is needed.
xslName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |