Class BrowseGraphicImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, BrowseGraphic

    public class BrowseGraphicImpl
    extends MetadataEntity
    implements BrowseGraphic
    Graphic that provides an illustration of the dataset (should include a legend for the graphic).
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • BrowseGraphicImpl

        public BrowseGraphicImpl()
        Constructs an initially empty browse graphic.
      • BrowseGraphicImpl

        public BrowseGraphicImpl​(BrowseGraphic source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • BrowseGraphicImpl

        public BrowseGraphicImpl​(URI fileName)
        Creates a browse graphics initialized to the specified URI.
    • Method Detail

      • getApplicationSchemaInformation

        public URI getApplicationSchemaInformation()
        Name of the file that contains a graphic that provides an illustration of the dataset.
      • setApplicationSchemaInformation

        public void setApplicationSchemaInformation​(URI newValue)
        Set the name of the file that contains a graphic that provides an illustration of the dataset.
      • getFileName

        public URI getFileName()
        Name of the file that contains a graphic that provides an illustration of the dataset.
        Specified by:
        getFileName in interface BrowseGraphic
        Returns:
        File that contains a graphic that provides an illustration of the dataset.
      • setFileName

        public void setFileName​(URI newValue)
        Set the name of the file that contains a graphic that provides an illustration of the dataset.
      • setFileDescription

        public void setFileDescription​(InternationalString newValue)
        Set the text description of the illustration.
      • getFileType

        public String getFileType()
        Format in which the illustration is encoded. Examples: CGM, EPS, GIF, JPEG, PBM, PS, TIFF, XWD.
        Specified by:
        getFileType in interface BrowseGraphic
        Returns:
        Format in which the illustration is encoded, or null.
        See Also:
        ImageIO.getReaderFormatNames()
      • setFileType

        public void setFileType​(String newValue)
        Set the format in which the illustration is encoded.