com.adobe.xfa.formcalc
Enum CalcParser.LegacyVersion
java.lang.Object
java.lang.Enum<CalcParser.LegacyVersion>
com.adobe.xfa.formcalc.CalcParser.LegacyVersion
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CalcParser.LegacyVersion>
- Enclosing class:
- CalcParser
public static enum CalcParser.LegacyVersion
- extends java.lang.Enum<CalcParser.LegacyVersion>
Enumerate scripting legacy versions.
This enumeration defines a mapping between vX.Y-scripting legacy flags
to a set of internal legacy scripting behaviours.
These enumerations are defined as a set; hence the i'th enumeration
must have value 2^i - 1.
JAVA PORT: Define LegacyVersion as Java enum
| 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 |
CUR_SCRIPTING
public static final CalcParser.LegacyVersion CUR_SCRIPTING
V30_SCRIPTING
public static final CalcParser.LegacyVersion V30_SCRIPTING
V32_SCRIPTING
public static final CalcParser.LegacyVersion V32_SCRIPTING
values
public static CalcParser.LegacyVersion[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CalcParser.LegacyVersion c : CalcParser.LegacyVersion.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CalcParser.LegacyVersion valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
© 2005 Adobe Systems Incorporated. All Rights Reserved.