org.systemsbiology.jrap.stax
Class Scan
java.lang.Object
org.systemsbiology.jrap.stax.Scan
- All Implemented Interfaces:
- java.io.Serializable
public final class Scan
- extends java.lang.Object
- implements java.io.Serializable
A simple class to hold the contents of a scan from a MSXML file.
This is a start. For those who want to get more fancy you should only have to
modify the SAX2ScanHandler to replace this.
- See Also:
- Serialized Form
|
Constructor Summary |
Scan()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
header
public ScanHeader header
massIntensityList
protected double[][] massIntensityList
- No matter 32-bit or 64-bit peak pair, return as double list.
Support mzXML
doubleMassList
public double[] doubleMassList
- No matter 32-bit m/z or 64 bit m/z return as a double list
Support for mzML
doubleIntensityList
public double[] doubleIntensityList
Scan
public Scan()
setHeader
public void setHeader(ScanHeader header)
getHeader
public ScanHeader getHeader()
setDoubleMassList
public void setDoubleMassList(double[] newValue)
getDoubleMassList
public double[] getDoubleMassList()
setDoubleIntensityList
public void setDoubleIntensityList(double[] newValue)
getDoubleIntensityList
public double[] getDoubleIntensityList()
setMassIntensityList
public void setMassIntensityList(double[][] massIntensityList)
getMassIntensityList
public double[][] getMassIntensityList()
toString
public java.lang.String toString()
- String respresentation of a Scan object.
Note: This is most likely not an optimal way to build the string.
Hopefully this method will only be used for testing.
- Overrides:
toString in class java.lang.Object