Class FileInfoXML

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
FileInfoImageXML, FileInfoSurfaceRefXML, FileInfoSurfaceXML

public abstract class FileInfoXML extends FileInfoBase
Abstract base clase contains the information that contains the shared information for XML images and XML surfaces.

Derived classes: FileInfoImageXML.java and FileInforSurfaceXML.java

Version:
0.1 Sept 19, 2002
Author:
Alexandra Bokinsky, Ph.D., Neva Cherniavsky, Matthew J. McAuliffe, Ph.D.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • imageDataFileName

      protected String imageDataFileName
      Name (not path) of the (usually raw) image data file. The name of the image xml header file is stored in FileInfoBase.getFileName().
      See Also:
    • imageDescription

      protected String imageDescription
      Brief description of the image - optional XML tag.
  • Constructor Details

    • FileInfoXML

      public FileInfoXML(String name, String directory, int format)
      Main constructor for FileInfoXML.
      Parameters:
      name - String file name
      directory - String file directory
      format - int file format (data type)
  • Method Details

    • displayAboutInfo

      public abstract void displayAboutInfo(JDialogBase dlog, TransMatrix matrix)
      Displays the file information.
      Specified by:
      displayAboutInfo in class FileInfoBase
      Parameters:
      dlog - JDialogBase dialog box that is written to
      matrix - transformation matrix
    • updateFileInfos

      public abstract void updateFileInfos(FileInfoXML fInfo)
      Used to propogate all fileInfoXML private variables to other fileinfos.
      Parameters:
      fInfo - FileInfoXML file info to be copied into
    • appendImageDescription

      public void appendImageDescription(String appendDescription)
      Appends a string to the image description.
      Parameters:
      appendDescription - a brief description of the image to be appended.
    • finalize

      public void finalize()
      Prepares the class for cleanup.
      Overrides:
      finalize in class FileInfoBase
    • getImageDataFileName

      public String getImageDataFileName()
      Returns the name of the image data file (not the xml header).
      Returns:
      name of the image data file
    • getImageDescription

      public String getImageDescription()
      Returns description of the image.
      Returns:
      a brief description of the image.
    • setImageDataFileName

      public void setImageDataFileName(String dataFileName)
      Sets the name of the image data file (not the xml header).
      Parameters:
      dataFileName - image data file name (not path)
    • setImageDescription

      public void setImageDescription(String newDescription)
      Sets the image description.
      Parameters:
      newDescription - a brief description of the image.