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

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