Modifier and Type | Method and Description |
---|---|
@NotNull DataType |
getDataType()
Gets the data type of the element.
|
@Nullable java.lang.String |
getDefaultContent()
Gets the content type of the default content.
|
@Nullable java.lang.String |
getInitialContentType()
Gets the initial MIME type of the variation.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetaData()
Returns a
Map with metadata of an Element. |
java.lang.String |
getName()
Gets the (technical) name of the represented content element.
|
java.lang.String |
getTitle()
Gets the (human-readable) title of the represented content element.
|
java.lang.String getName()
java.lang.String getTitle()
@NotNull @NotNull DataType getDataType()
@Nullable @Nullable java.lang.String getInitialContentType()
This method must return a MIME type that is actually supported by the implementation.
@Nullable @Nullable java.lang.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.
java.util.Map<java.lang.String,java.lang.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 - 2023 Adobe. All Rights Reserved