public enum FormModel extends Enum<FormModel>
Enum used for specifying which Form model should be used while creating a form component using
FormGenerationService
.
AFOptions
,
AFFOptions
Enum Constant and Description |
---|
FORM_DATA_MODEL
Form model associated with files of Form data model.
|
FORM_TEMPLATE
Form model associated with files of xdp extension
|
JSON_SCHEMA
Form model associated with files of schema.json extension.
|
XML_SCHEMA
Form model associated with files of xsd extension
|
Modifier and Type | Method and Description |
---|---|
static FormModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormModel FORM_TEMPLATE
public static final FormModel XML_SCHEMA
public static final FormModel JSON_SCHEMA
public static final FormModel FORM_DATA_MODEL
public static FormModel[] values()
for (FormModel c : FormModel.values()) System.out.println(c);
public static FormModel 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 nullCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.