Last update: 2011-06-23

org.proteios.io.mzdata
Class MzDataExpAcqSpecificationBlock

java.lang.Object
  extended by org.proteios.io.mzdata.MzDataExpCommon
      extended by org.proteios.io.mzdata.MzDataExpCommonDc
          extended by org.proteios.io.mzdata.MzDataExpCommonAnnotation
              extended by org.proteios.io.mzdata.MzDataExpCommonPeakList
                  extended by org.proteios.io.mzdata.MzDataExpAcqSpecificationBlock

public class MzDataExpAcqSpecificationBlock
extends MzDataExpCommonPeakList

This class processes an "acqSpecification" XML block in an mzData file. This class supports export of mzData files from Proteios. An mzData file contains information on a mass spectrometry experiment. Given a Proteios peakListSet, MzDataExporter fetches stored data related to this peakListSet and stores it in an mzData file.

Version:
2.0
Author:
Olle
Last modified
$Date: 2006-10-09 16:10:56 +0200 (Mon, 09 Oct 2006) $

Field Summary
 
Fields inherited from class org.proteios.io.mzdata.MzDataExpCommonDc
anna, dc, factory
 
Fields inherited from class org.proteios.io.mzdata.MzDataExpCommon
log
 
Constructor Summary
MzDataExpAcqSpecificationBlock(SessionControl sc)
          Default constructor.
 
Method Summary
 void fetchPeakListAnnotations(PeakList peakList, DbControl dc)
          Fetches variable values stored as annotations for peakList.
 String getSpectrumType()
          Get the spectrumType.
 void setSpectrumType(String spectrumType)
          Set the spectrumType.
 void write(XMLCrudeWriter xmlCrudeWriter, PeakList peakList)
          Creates an acqSpecification block.
 
Methods inherited from class org.proteios.io.mzdata.MzDataExpCommonPeakList
getPeakList, setPeakList
 
Methods inherited from class org.proteios.io.mzdata.MzDataExpCommonAnnotation
createAddedParamAnnotationType, createAnnotationType, createCvLookupAnnotationType, createCvParamAnnotationType, createUserParamAnnotationType, fetchAddedParamAnnotationType, fetchAnnotation, fetchCvLookupAnnotation, fetchCvLookupAnnotationList, fetchCvLookupAnnotationType, fetchCvParamAnnotation, fetchCvParamAnnotationList, fetchUserParamAnnotation, fetchUserParamAnnotationList, obtainAddedParamAnnotationType, obtainCvLookupAnnotationType, storeAnnotation, storeCvLookupAnnotation, storeCvParamAnnotation, storeUserParamAnnotation
 
Methods inherited from class org.proteios.io.mzdata.MzDataExpCommonDc
enableAnnotator, enableDbControl, enableDbControl, getDbControl, getSessionControl, setDbControl
 
Methods inherited from class org.proteios.io.mzdata.MzDataExpCommon
getBlockTagName, setBlockTagName, write, writeAttribute, writeEndTag, writeNamespace, writeSimpleElementPair, writeSimpleElementPair, writeSingleElementEnd, writeStartElement, writeStartElementEnd, writeStartListTag, writeStartTag, zeroPad, zeroPad, zeroPad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MzDataExpAcqSpecificationBlock

public MzDataExpAcqSpecificationBlock(SessionControl sc)
Default constructor.

Method Detail

getSpectrumType

public String getSpectrumType()
Get the spectrumType.

Returns:
spectrumType String the spectrumType

setSpectrumType

public void setSpectrumType(String spectrumType)
Set the spectrumType.

Parameters:
spectrumType - String the spectrumType to set.

write

public void write(XMLCrudeWriter xmlCrudeWriter,
                  PeakList peakList)
           throws javax.xml.stream.XMLStreamException
Creates an acqSpecification block.

Parameters:
xmlCrudeWriter - the XMLCrudeWriter instance to use.
peakList - PeakList peakList (spectrum)
Throws:
javax.xml.stream.XMLStreamException - If there is an XML Stream related error

fetchPeakListAnnotations

public void fetchPeakListAnnotations(PeakList peakList,
                                     DbControl dc)
Fetches variable values stored as annotations for peakList.

Parameters:
peakList - PeakList peakList (spectrum)
dc - DbControl used to retrieve data

Last update: 2011-06-23