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()
      Get the content path of the variant
      java.lang.String getTitle()
      Get the title of the variant.
      java.lang.String getURL()
      Get the full URL of the variant.
    • Method Detail

      • getPath

        java.lang.String getPath()
        Get the content path of the variant
        Returns:
        The content path of the variant.
      • getURL

        java.lang.String getURL()
        Get the full URL of the variant.
        Returns:
        The full URL of the variant.
      • getTitle

        java.lang.String getTitle()
        Get the title of the variant.
        Returns:
        The title of the variant.
      • getAttributes

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