@ConsumerType public interface Title extends ComponentExporter
Title Sling Model used for the /apps/core/wcm/components/title component.| Modifier and Type | Field and Description |
|---|---|
static String |
PN_DESIGN_DEFAULT_TYPE
Name of the configuration policy property that will store the default value for this title's HTML element type.
|
static String |
PN_TITLE_LINK_DISABLED
Name of the policy property that defines whether or not the title link is disabled.
|
| Modifier and Type | Method and Description |
|---|---|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default String |
getLinkURL()
Returns the Title's link URL, if one was set.
|
default String |
getText()
Returns the text to be displayed as title.
|
default String |
getType()
Returns the HTML element type (h1-h6) used for the markup.
|
default boolean |
isLinkDisabled()
Checks if link is disabled on the title.
|
static final String PN_DESIGN_DEFAULT_TYPE
getType(),
Constant Field Valuesstatic final String PN_TITLE_LINK_DISABLED
default String getText()
default in 12.1.0default String getType()
default in 12.1.0default String getLinkURL()
nulldefault boolean isLinkDisabled()
true if link is disabled on the title, false otherwise@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