Class WebPageMetaData

java.lang.Object
com.jalios.util.webpage.WebPageMetaData

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

    • WebPageMetaData

      public WebPageMetaData()
  • Method Details

    • getTitle

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

      public void setTitle(String title)
      Parameters:
      title - the title to set
    • getDescription

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

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getUrl

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

      public void setUrl(String url)
      Parameters:
      url - the url to set
    • getImagesUrl

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

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

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

      public void setMainImage(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 String getFavicon()
      Returns:
      the favicon of the page
      Since:
      10.0.6
    • setFavicon

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

      public String getArticleContent()
    • setArticleContent

      public void setArticleContent(String articleContent)