This package defines the Sling Models exposed by the Adobe Experience Manager Core WCM Components Bundle for the form components.
Implementors of this API can choose which API level they support, by implementing all the methods up to a specified version of the API. All the provided interfaces document in which API version they were added. Furthermore, all methods also specify the API version in which they were introduced and deprecated.
All the interfaces from this package provide
default methods that throw
The reasoning behind this pattern is that implementors can upgrade the bundle without being forced to implement all the
new methods provided by a newer API version, since the interfaces from this package are
UnsupportedOperationException could be thrown when a
component script would start using the newer API, without the actual implementation to support it. This can happen when an
implementor migrates a
to a newer version of the core component it proxies and a custom Sling Model implementation, supporting an older API
version, is bound to this proxy component resource type.
Interface Summary Interface Description ButtonDefines the
ButtonSling Model used for the
ContainerDefines the form
ContainerSling Model used for the
FieldA base interface to be extended by all the different types of form fields. OptionItemInterface for a single item of the
OptionsDefines the form
OptionsSling Model used for the
TextDefines the form
TextSling Model used for the
Enum Summary Enum Description Button.TypeDefines button type. Options.TypeDefines the Options type.