Enum FMConstants.FORM_MODEL
- java.lang.Object
-
- java.lang.Enum<FMConstants.FORM_MODEL>
-
- com.adobe.aem.formsndocuments.util.FMConstants.FORM_MODEL
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FMConstants.FORM_MODEL>
- Enclosing class:
- FMConstants
public static enum FMConstants.FORM_MODEL extends java.lang.Enum<FMConstants.FORM_MODEL>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORM_DATA_MODEL
FORM_TEMPLATE
JSON_SCHEMA
NONE
XML_SCHEMA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FMConstants.FORM_MODEL
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FMConstants.FORM_MODEL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM_TEMPLATE
public static final FMConstants.FORM_MODEL FORM_TEMPLATE
-
XML_SCHEMA
public static final FMConstants.FORM_MODEL XML_SCHEMA
-
JSON_SCHEMA
public static final FMConstants.FORM_MODEL JSON_SCHEMA
-
FORM_DATA_MODEL
public static final FMConstants.FORM_MODEL FORM_DATA_MODEL
-
NONE
public static final FMConstants.FORM_MODEL NONE
-
-
Method Detail
-
values
public static FMConstants.FORM_MODEL[] 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 (FMConstants.FORM_MODEL c : FMConstants.FORM_MODEL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FMConstants.FORM_MODEL 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 namejava.lang.NullPointerException
- if the argument is null
-
-