Interface PageMetadata
-
- All Known Subinterfaces:
Product
,ProductList
- All Known Implementing Classes:
PageMetadataImpl
,ProductImpl
,ProductListImpl
public interface PageMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCanonicalUrl()
String
getMetaDescription()
String
getMetaKeywords()
String
getMetaTitle()
Although this method refers to "metaTitle", this is used to set the title tag of the HTML page.
-
-
-
Method Detail
-
getMetaDescription
String getMetaDescription()
- Returns:
- The content for the meta description tag of the HTML page.
-
getMetaKeywords
String getMetaKeywords()
- Returns:
- The content for the meta keywords tag of the HTML page.
-
getMetaTitle
String getMetaTitle()
Although this method refers to "metaTitle", this is used to set the title tag of the HTML page. The method is not calledgetTitle()
to avoid confusion withProductList.getTitle()
- Returns:
- The content for the title tag of the HTML page.
-
getCanonicalUrl
String getCanonicalUrl()
- Returns:
- The fully-qualified canonical url, to set the canonical link element of the HTML page.
-
-