Package com.day.cq.wcm.api.variants
Interface PageVariant
-
public interface PageVariant
A 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 java.util.Map<java.lang.String,java.lang.String>
getAttributes()
Additional attributes of the variant (hreflang, media, etc)java.lang.String
getPath()
The content path of the variantjava.lang.String
getTitle()
The title of the variantjava.lang.String
getURL()
The full URL of the variant
-
-
-
Method Detail
-
getPath
java.lang.String getPath()
The content path of the variant
-
getURL
java.lang.String getURL()
The full URL of the variant
-
getTitle
java.lang.String getTitle()
The title of the variant
-
getAttributes
java.util.Map<java.lang.String,java.lang.String> getAttributes()
Additional attributes of the variant (hreflang, media, etc)
-
-