| Modifier and Type | Method and Description |
|---|---|
@NotNull DataType |
getDataType()
Gets the data type of the element.
|
@Nullable String |
getDefaultContent()
Gets the content type of the default content.
|
@Nullable String |
getInitialContentType()
Gets the initial MIME type of the variation.
|
Map<String,Object> |
getMetaData()
Returns a
Map with metadata of an Element. |
String |
getName()
Gets the (technical) name of the represented content element.
|
String |
getTitle()
Gets the (human-readable) title of the represented content element.
|
String getName()
String getTitle()
@NotNull @NotNull DataType getDataType()
@Nullable @Nullable String getInitialContentType()
This method must return a MIME type that is actually supported by the implementation.
@Nullable @Nullable String getDefaultContent()
Gets the content type of the default content.
If this method returns null, the implementation should consider this
as "undefined" rather than "empty". In such cases, it's the implementation's duty
to provide a sensible default content. Could (for example) be an empty string for
plain text content or <p> </p> for HTML content.
Map<String,Object> getMetaData()
Returns a Map with metadata of an Element.
The method is used to return metadata information associated with Data Types from a Content Fragment Model.
Example: used to return the Fragment Template referenced by a Fragment Reference data type.
Copyright © 2010 - 2020 Adobe. All Rights Reserved