@ConsumerType public interface Container extends ContainerExporter
Container Sling Model used for the /apps/core/wcm/components/form/container component.| Modifier and Type | Method and Description |
|---|---|
default String |
getAction()
Returns the form's submit method (the value of the form's HTML
action attribute). |
default String |
getEnctype()
Returns the form's encoding type (the value of the form's HTML
enctype attribute). |
default @NotNull Map<String,? extends ComponentExporter> |
getExportedItems()
Returns the map of all exported child items (resource names from Sling Model classes).
|
default @NotNull String[] |
getExportedItemsOrder()
Returns the order of items in the map.
|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default String |
getId()
Returns the form's id (the value of the form's HTML
id attribute). |
default String |
getMethod()
Returns the form's submit method (the value of the form's HTML
method attribute). |
default String |
getName()
Returns the form's name (the value of the form's HTML
name attribute). |
default String |
getRedirect()
This method returns the redirect url property of this form.
|
default String |
getResourceTypeForDropArea()
Returns the resource type for the "new" section in the form container where other input components will
be dropped.
|
default String getMethod()
method attribute).default in 14.1.0default String getAction()
action attribute).default in 14.1.0default String getId()
id attribute).default in 14.1.0default String getName()
name attribute).default in 14.1.0default String getEnctype()
enctype attribute).default in 14.1.0default String getResourceTypeForDropArea()
default in 14.1.0default String getRedirect()
default in 14.1.0@NotNull default @NotNull String[] getExportedItemsOrder()
ContainerExporterReturns the order of items in the map.
NOTE: This information is required because the JSON specification and most implementations don't provide a stable order of items in JSON objects. Methods whose JSON serialization would lead to the same JSON property name (":order") will not be serialized.
getExportedItemsOrder in interface ContainerExporterContainerExporter.getExportedItemsOrder()@NotNull default @NotNull Map<String,? extends ComponentExporter> getExportedItems()
ContainerExporterReturns the map of all exported child items (resource names from Sling Model classes).
NOTE: Methods whose JSON serialization would lead to the same JSON property name (":items") will not be serialized.
getExportedItems in interface ContainerExporterContainerExporter.getExportedItems()@NotNull default @NotNull String getExportedType()
ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentExporterComponentExporter.getExportedType()Copyright © 2010 - 2020 Adobe. All Rights Reserved