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 Detail

      • m_kSurfaceStr

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

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

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

      • FileSurfaceXML

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

      • 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.