org.systemsbiology.jrap.stax
Class Scan

java.lang.Object
  extended by 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

Field Summary
 double[] doubleIntensityList
           
 double[] doubleMassList
          No matter 32-bit m/z or 64 bit m/z return as a double list Support for mzML
 ScanHeader header
           
protected  double[][] massIntensityList
          No matter 32-bit or 64-bit peak pair, return as double list.
 
Constructor Summary
Scan()
           
 
Method Summary
 double[] getDoubleIntensityList()
           
 double[] getDoubleMassList()
           
 ScanHeader getHeader()
           
 double[][] getMassIntensityList()
           
 void setDoubleIntensityList(double[] newValue)
           
 void setDoubleMassList(double[] newValue)
           
 void setHeader(ScanHeader header)
           
 void setMassIntensityList(double[][] massIntensityList)
           
 java.lang.String toString()
          String respresentation of a Scan object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Scan

public Scan()
Method Detail

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