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

    Modifier and Type
    Method
    Description
    Additional attributes of the variant (hreflang, media, etc)
    Get the content path of the variant
    Get the title of the variant.
    Get the full URL of the variant.
  • Method Details

    • 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.
    • getAttributes

      Map<String,String> getAttributes()
      Additional attributes of the variant (hreflang, media, etc)
      Returns:
      Additional attributes of the variant.