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
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
FieldsModifier and TypeFieldDescriptionprotected static final String[]array of strings representing the tags underin the xml schema. protected static final String[]array of strings representing the tags underin the xml schema. protected static final String[]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_HEADERFields inherited from class gov.nih.mipav.model.file.FileBase
BIG_ENDIAN, bitsPerPixel, fileNames, LITTLE_ENDIAN, pBarVisible, raFile, READ, READ_WRITE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalize()Prepares class for cleanup.Returns the FileInfoSurfaceXML read from the file.Methods inherited from class gov.nih.mipav.model.file.FileXML
closedTag, closedTag, closedTag, openTag, readHeader, setPBarMethods 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 Details
-
m_kSurfaceStr
array of strings representing the tags underin the xml schema. -
m_kMaterialStr
array of strings representing the tags underin the xml schema. -
m_kMeshStr
array of strings representing the tags underin the xml schema.
-
-
Constructor Details
-
FileSurfaceXML
Constructs new file object.- Parameters:
fName- File name.fDir- File directory.
-
-
Method Details