Package com.day.cq.wcm.api.variants
Interface PageVariant
-
public interface PageVariantA PageVariant represents content that's similar to a given page, in another site variant. For example, the english version of a french page that a website visitor is looking at.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getAttributes()Additional attributes of the variant (hreflang, media, etc)StringgetPath()Get the content path of the variantStringgetTitle()Get the title of the variant.StringgetURL()Get the full URL of the variant.
-
-
-
Method Detail
-
getPath
String getPath()
Get the content path of the variant- Returns:
- The content path of the variant.
-
getURL
String getURL()
Get the full URL of the variant.- Returns:
- The full URL of the variant.
-
getTitle
String getTitle()
Get the title of the variant.- Returns:
- The title of the variant.
-
-