Class TargetedUrlComponents


  • public class TargetedUrlComponents
    extends Object
    The components of a targeted URL.
    Author:
    avasquez
    • Constructor Detail

      • TargetedUrlComponents

        public TargetedUrlComponents()
    • Method Detail

      • getPrefix

        public String getPrefix()
        Returns the URL prefix (e.g. /products/index)
      • setPrefix

        public void setPrefix​(String prefix)
        Sets the URL prefix.
        Parameters:
        prefix - the prefix to set (e.g. /products/index)
      • getTargetId

        public String getTargetId()
        Returns the target ID (e.g. en_US)
      • setTargetId

        public void setTargetId​(String targetId)
        Sets the target ID (e.g. en_US).
        Parameters:
        targetId - the target ID to set
      • getSuffix

        public String getSuffix()
        Returns the URL suffix (e.g. .xml)
      • setSuffix

        public void setSuffix​(String suffix)
        Sets the URL suffix (e.g. .xml)
        Parameters:
        suffix - the suffix to set