Class WebPageMetaData


  • public class WebPageMetaData
    extends java.lang.Object
    Object that contains a web page metadatas (Title, description, url, images...)
    Since:
    jcms-9.0.4 && jcms-10
    Author:
    Kevin Bransard
    • Constructor Detail

      • WebPageMetaData

        public WebPageMetaData()
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Returns:
        the webpage title
      • setTitle

        public void setTitle​(java.lang.String title)
        Parameters:
        title - the title to set
      • getDescription

        public java.lang.String getDescription()
        Returns:
        the webpage description
      • setDescription

        public void setDescription​(java.lang.String description)
        Parameters:
        description - the description to set
      • getUrl

        public java.lang.String getUrl()
        Returns:
        the webpage url
      • setUrl

        public void setUrl​(java.lang.String url)
        Parameters:
        url - the url to set
      • getImagesUrl

        public java.util.Set<java.lang.String> getImagesUrl()
        Returns:
        a Set of images url from the current webpage
      • setImagesUrl

        public void setImagesUrl​(java.util.Set<java.lang.String> imagesUrl)
        Parameters:
        imagesUrl - the images urls as a Set to set
      • getMainImage

        public java.lang.String getMainImage()
        Returns:
        the webpage main image
      • setMainImage

        public void setMainImage​(java.lang.String mainImage)
        Parameters:
        mainImage - the main image to set
      • getStatusCode

        public int getStatusCode()
        Returns:
        the http statusCode
      • setStatusCode

        public void setStatusCode​(int statusCode)
        Parameters:
        statusCode - the http statusCode to set
      • getFavicon

        public java.lang.String getFavicon()
        Returns:
        the favicon of the page
        Since:
        10.0.6
      • setFavicon

        public void setFavicon​(java.lang.String favicon)
        Parameters:
        favicon - the favicon of the web page
        Since:
        10.0.6
      • getArticleContent

        public java.lang.String getArticleContent()
      • setArticleContent

        public void setArticleContent​(java.lang.String articleContent)