Class FileSurfaceXML

Direct Known Subclasses:
FileSurfaceXML_J3D

public abstract class FileSurfaceXML extends FileXML
Inherits from FileXML, reads Surface.XML files based on the "surface.xsd" file. Defines specific variables for reading and writing surface.xml files:
  • Field Details

    • m_kSurfaceStr

      protected static final String[] m_kSurfaceStr
      array of strings representing the tags under in the xml schema.
    • m_kMaterialStr

      protected static final String[] m_kMaterialStr
      array of strings representing the tags under in the xml schema.
    • m_kMeshStr

      protected static final String[] m_kMeshStr
      array of strings representing the tags under in the xml schema.
  • Constructor Details

    • FileSurfaceXML

      public FileSurfaceXML(String fName, String fDir)
      Constructs new file object.
      Parameters:
      fName - File name.
      fDir - File directory.
  • Method Details

    • finalize

      public void finalize()
      Prepares class for cleanup.
      Overrides:
      finalize in class FileXML
    • getFileInfo

      public FileInfoSurfaceXML getFileInfo()
      Returns the FileInfoSurfaceXML read from the file.
      Returns:
      File info read from file, or null if it has not been read.