org.geotools.metadata.iso.identification
Class BrowseGraphicImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.identification.BrowseGraphicImpl
All Implemented Interfaces:
org.opengis.metadata.identification.BrowseGraphic, java.lang.Cloneable, java.io.Serializable

public class BrowseGraphicImpl
extends MetadataEntity
implements org.opengis.metadata.identification.BrowseGraphic

Graphic that provides an illustration of the dataset (should include a legend for the graphic).

Since:
2.1
Version:
$Id: BrowseGraphicImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
BrowseGraphicImpl()
          Constructs an initially empty browse graphic.
BrowseGraphicImpl(java.net.URI fileName)
          Creates a browse graphics initialized to the specified URI.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this browse graphic with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.net.URI getApplicationSchemaInformation()
          Name of the file that contains a graphic that provides an illustration of the dataset.
 org.opengis.util.InternationalString getFileDescription()
          Text description of the illustration.
 java.net.URI getFileName()
          Name of the file that contains a graphic that provides an illustration of the dataset.
 java.lang.String getFileType()
          Format in which the illustration is encoded.
 int hashCode()
          Returns a hash code value for this browse graphics.
 void setApplicationSchemaInformation(java.net.URI newValue)
          Set the name of the file that contains a graphic that provides an illustration of the dataset.
 void setFileDescription(org.opengis.util.InternationalString newValue)
          Set the text description of the illustration.
 void setFileName(java.net.URI newValue)
          Set the name of the file that contains a graphic that provides an illustration of the dataset.
 void setFileType(java.lang.String newValue)
          Set the format in which the illustration is encoded.
 java.lang.String toString()
          Returns a string representation of this browse graphics.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrowseGraphicImpl

public BrowseGraphicImpl()
Constructs an initially empty browse graphic.


BrowseGraphicImpl

public BrowseGraphicImpl(java.net.URI fileName)
Creates a browse graphics initialized to the specified URI.

Method Detail

getApplicationSchemaInformation

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


setApplicationSchemaInformation

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


getFileName

public java.net.URI getFileName()
Name of the file that contains a graphic that provides an illustration of the dataset.

Specified by:
getFileName in interface org.opengis.metadata.identification.BrowseGraphic

setFileName

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


getFileDescription

public org.opengis.util.InternationalString getFileDescription()
Text description of the illustration.

Specified by:
getFileDescription in interface org.opengis.metadata.identification.BrowseGraphic

setFileDescription

public void setFileDescription(org.opengis.util.InternationalString newValue)
Set the text description of the illustration.


getFileType

public java.lang.String getFileType()
Format in which the illustration is encoded. Examples: CGM, EPS, GIF, JPEG, PBM, PS, TIFF, XWD.

Specified by:
getFileType in interface org.opengis.metadata.identification.BrowseGraphic

setFileType

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


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this browse graphic with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this browse graphics.


toString

public java.lang.String toString()
Returns a string representation of this browse graphics.



Copyright © GeoTools. All Rights Reserved.