Package gov.nih.mipav.model.file
Class FileSurfaceXML
- java.lang.Object
-
- gov.nih.mipav.model.file.FileBase
-
- gov.nih.mipav.model.file.FileXML
-
- gov.nih.mipav.model.file.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:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileXML
FileXML.XMLAttributes
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String[]
m_kMaterialStr
array of strings representing the tags underin the xml schema. protected static java.lang.String[]
m_kMeshStr
array of strings representing the tags underin the xml schema. protected static java.lang.String[]
m_kSurfaceStr
array of strings representing the tags underin the xml schema. -
Fields inherited from class gov.nih.mipav.model.file.FileXML
bw, fileDir, fileInfo, fileName, m_kHandler, MIPAV_HEADER, pInterface, TAB, tabLevel, W3C_XML_SCHEMA, XML_ENCODING, XML_HEADER
-
Fields inherited from class gov.nih.mipav.model.file.FileBase
BIG_ENDIAN, bitsPerPixel, fileNames, LITTLE_ENDIAN, pBarVisible, raFile, READ, READ_WRITE
-
-
Constructor Summary
Constructors Constructor Description FileSurfaceXML(java.lang.String fName, java.lang.String fDir)
Constructs new file object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Prepares class for cleanup.FileInfoSurfaceXML
getFileInfo()
Returns the FileInfoSurfaceXML read from the file.-
Methods inherited from class gov.nih.mipav.model.file.FileXML
closedTag, closedTag, closedTag, openTag, readHeader, setPBar
-
Methods inherited from class gov.nih.mipav.model.file.FileBase
addProgressChangeListener, bytesToDouble, bytesToFloat, bytesToInt, bytesToShort, doubleToBytes, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, floatToBytes, getBufferDouble, getBufferFloat, getBufferInt, getBufferLong, getBufferShort, getBufferUShort, getDataType, getDouble, getFloat, getInt, getLong, getProgressChangeListeners, getRaFile, getSignedShort, getString, getUInt, getUnsignedByte, getUnsignedShort, intToBytes, isBigEndian, isProgressBarVisible, linkProgress, longToBytes, readDouble, readFloat, readInt, readLong, readShort, readString, readUnsignedShort, removeProgressChangeListener, setBigEndian, setBufferFloat, setBufferInt, setBufferLong, setBufferShort, setBufferString, setDataType, setEndianess, shortToBytes, writeBytes, writeDouble, writeFloat, writeInt, writeLong, writeShort
-
-
-
-
Field Detail
-
m_kSurfaceStr
protected static final java.lang.String[] m_kSurfaceStr
array of strings representing the tags underin the xml schema.
-
m_kMaterialStr
protected static final java.lang.String[] m_kMaterialStr
array of strings representing the tags underin the xml schema.
-
m_kMeshStr
protected static final java.lang.String[] m_kMeshStr
array of strings representing the tags underin the xml schema.
-
-
Method Detail
-
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.
-
-