|
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.MzDataImpAdminBlock
public class MzDataImpAdminBlock
This class processes a "admin" 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 | |
|---|---|
MzDataImpAdminBlock(SessionControl sc)
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getAccessionNumber()
Get the source file accessionNumber. |
String |
getContactInfo()
Get the contactInfo. |
String |
getContactInstitution()
Get the contactInstitution. |
String |
getContactName()
Get the contactName. |
String |
getFileType()
Get the source file fileType. |
String |
getNameOfFile()
Get the source file nameOfFile. |
String |
getPathToFile()
Get the source file pathToFile. |
String |
getSampleName()
Get the sample name. |
void |
processInternalStartElement(javax.xml.stream.XMLStreamReader parser)
Processes an internal StartElement event. |
void |
setAccessionNumber(String accessionNumber)
Set the source file accessionNumber. |
void |
setContactInfo(String contactInfo)
Set the contactInfo. |
void |
setContactInstitution(String contactInstitution)
Set the contactInstitution. |
void |
setContactName(String contactName)
Set the contactName. |
void |
setFileType(String fileType)
Set the source file fileType. |
void |
setNameOfFile(String nameOfFile)
Set the source file nameOfFile. |
void |
setPathToFile(String pathToFile)
Set the source file pathToFile. |
void |
setSampleName(String sampleName)
Set the sample name. |
| 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, blockStart, getBlockTagName, getTempStrBuf, parse, processCData, processCharacters, processInternalEndElement, setBlockTagName, setTempStrBuf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MzDataImpAdminBlock(SessionControl sc)
| Method Detail |
|---|
public String getSampleName()
public void setSampleName(String sampleName)
sampleName - String the sampleName to set.public String getAccessionNumber()
public void setAccessionNumber(String accessionNumber)
accessionNumber - String the accessionNumber to set.public String getNameOfFile()
public void setNameOfFile(String nameOfFile)
nameOfFile - String the nameOfFile to set.public String getPathToFile()
public void setPathToFile(String pathToFile)
pathToFile - String the pathToFile to set.public String getFileType()
public void setFileType(String fileType)
fileType - String the fileType to set.public String getContactName()
public void setContactName(String contactName)
contactName - String the contactName to set.public String getContactInstitution()
public void setContactInstitution(String contactInstitution)
contactInstitution - String the contactInstitution to set.public String getContactInfo()
public void setContactInfo(String contactInfo)
contactInfo - String the contactInfo to set.
public void processInternalStartElement(javax.xml.stream.XMLStreamReader parser)
throws javax.xml.stream.XMLStreamException
processInternalStartElement 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 | |||||||||