Class RelatedContentDesc

java.lang.Object
net.adoptopenjdk.icedteaweb.jnlp.element.information.RelatedContentDesc

public class RelatedContentDesc extends Object
The optional related-content element describes an additional piece of related content, such as a readme file, help pages, or links to registration pages, as a hint to the JNLP Client. The application is asking that this content be included in its desktop integration. The related-content element has a mandatory href attribute.
  • Field Details

  • Constructor Details

    • RelatedContentDesc

      public RelatedContentDesc(URL location)
      Create a related-content descriptor.
      Parameters:
      location - the location of the related content
  • Method Details

    • setTitle

      public void setTitle(String title)
      Set the title of this content.
      Parameters:
      title - the title of this content
    • getTitle

      public String getTitle()
      Returns:
      the title of this content.
    • setDescription

      public void setDescription(String description)
      Set the description of this related content.
      Parameters:
      description - to be set
    • getDescription

      public String getDescription()
      Returns:
      the description of the related content
    • getLocation

      public URL getLocation()
      Returns:
      the mandatory location of the related content.
    • setIconDesc

      public void setIconDesc(IconDesc icon)
      Set the icon for this related content
      Parameters:
      icon - set to be used
    • getIcon

      public IconDesc getIcon()
      Returns:
      the icon descriptor for the related content