|
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
public class MzDataImpCommonDc
This class supports import of mzData files into Proteios. It contains common
attributes and methods, and is intended to be the parent class for other
classes that process an 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 | |
|---|---|
protected Annotator |
anna
|
protected DbControl |
dc
|
protected ItemFactory |
factory
|
| Fields inherited from class org.proteios.io.mzdata.MzDataImpCommon |
|---|
log |
| Constructor Summary | |
|---|---|
MzDataImpCommonDc(SessionControl sc)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
enableDbControl()
Make sure that DbControl is running. |
void |
enableDbControl(BasicItem item)
Make sure that DbControl is running, and that the item is attached to it. |
DbControl |
getDbControl()
Get the DbControl. |
SessionControl |
getSessionControl()
|
void |
setDbControl(DbControl dc)
Set the DbControl. |
| Methods inherited from class org.proteios.io.mzdata.MzDataImpCommon |
|---|
blockEnd, blockStart, getBlockTagName, getTempStrBuf, parse, processCData, processCharacters, processInternalEndElement, processInternalStartElement, setBlockTagName, setTempStrBuf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DbControl dc
protected ItemFactory factory
protected Annotator anna
| Constructor Detail |
|---|
public MzDataImpCommonDc(SessionControl sc)
| Method Detail |
|---|
public SessionControl getSessionControl()
public DbControl getDbControl()
public void setDbControl(DbControl dc)
dc - DbControl the DbControl to set.public void enableDbControl()
public void enableDbControl(BasicItem item)
item - BasicItem item to reattach to DbController
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||