|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.io.mzdata.MzDataImpCommon
org.proteios.io.mzdata.MzDataImpCommonDc
org.proteios.io.mzdata.MzDataImpCommonAnnotation
org.proteios.io.mzdata.MzDataImpCommonPeakListSet
org.proteios.io.mzdata.MzDataImpSoftwareBlock
public class MzDataImpSoftwareBlock
This class processes a "software" XML block in an mzData file.
An mzData file contains information on a mass spectrometry experiment.
The mzData file is first vaildated against the XML Schema Definition
file mzdata.xsd. If the file is valid, its content is parsed and
selected information stored in Proteios.
The mzData file is parsed using cursor-based XML stream parsing.
The StAX (Stream API for XML) parser finds start and stop (end)
tags, which are then processed. Element attributes are located
in the start tag, and elements of simple types are stored directly
after the start tag is read. For more complex elements, values of
attributes and sub-elements are collected in temporary variables,
until the end tag is reached, and the colelcted contents are stored.
Example: XML tag
| Field Summary |
|---|
| Fields inherited from class org.proteios.io.mzdata.MzDataImpCommonPeakListSet |
|---|
aPeakListSet |
| Fields inherited from class org.proteios.io.mzdata.MzDataImpCommonDc |
|---|
anna, dc, factory |
| Fields inherited from class org.proteios.io.mzdata.MzDataImpCommon |
|---|
log |
| Constructor Summary | |
|---|---|
MzDataImpSoftwareBlock(SessionControl sc)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
blockStart(javax.xml.stream.XMLStreamReader parser)
Processes start of XML block processed by this class. |
String |
getSoftwareComment()
Get the softwareComment. |
String |
getSoftwareCompletionTime()
Get the softwareCompletionTime. |
String |
getSoftwareName()
Get the softwareName. |
String |
getSoftwareVersion()
Get the softwareVersion. |
void |
processInternalEndElement(javax.xml.stream.XMLStreamReader parser)
Processes an internal EndElement event. |
void |
setSoftwareComment(String softwareComment)
Set the softwareComment. |
void |
setSoftwareCompletionTime(String softwareCompletionTime)
Set the softwareCompletionTime. |
void |
setSoftwareName(String softwareName)
Set the softwareName. |
void |
setSoftwareVersion(String softwareVersion)
Set the softwareVersion. |
| Methods inherited from class org.proteios.io.mzdata.MzDataImpCommonPeakListSet |
|---|
getPeakListSet, getXMLFilePath, parse, setPeakListSet, setXMLFilePath |
| Methods inherited from class org.proteios.io.mzdata.MzDataImpCommonAnnotation |
|---|
fetchCvLookupAnnotation, fetchCvLookupAnnotationList, fetchCvParamAnnotation, fetchCvParamAnnotationList, fetchUserParamAnnotation, fetchUserParamAnnotationList, storeAnnotation, storeCvLookupAnnotation, storeCvParamAnnotation, storeUserParamAnnotation |
| Methods inherited from class org.proteios.io.mzdata.MzDataImpCommonDc |
|---|
enableDbControl, enableDbControl, getDbControl, getSessionControl, setDbControl |
| Methods inherited from class org.proteios.io.mzdata.MzDataImpCommon |
|---|
blockEnd, getBlockTagName, getTempStrBuf, parse, processCData, processCharacters, processInternalStartElement, setBlockTagName, setTempStrBuf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MzDataImpSoftwareBlock(SessionControl sc)
sc - | Method Detail |
|---|
public String getSoftwareCompletionTime()
public void setSoftwareCompletionTime(String softwareCompletionTime)
softwareCompletionTime - String the softwareCompletionTime to set.public String getSoftwareName()
public void setSoftwareName(String softwareName)
softwareName - String the softwareName to set.public String getSoftwareVersion()
public void setSoftwareVersion(String softwareVersion)
softwareVersion - String the softwareVersion to set.public String getSoftwareComment()
public void setSoftwareComment(String softwareComment)
softwareComment - String the softwareComment to set.
public void blockStart(javax.xml.stream.XMLStreamReader parser)
throws javax.xml.stream.XMLStreamException
blockStart in class MzDataImpCommonparser - XMLStreamReader instance.
javax.xml.stream.XMLStreamException - If there is an XML Stream related error
public void processInternalEndElement(javax.xml.stream.XMLStreamReader parser)
throws javax.xml.stream.XMLStreamException
processInternalEndElement in class MzDataImpCommonparser - XMLStreamReader instance.
javax.xml.stream.XMLStreamException - If there is an XML Stream related error
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||