jadex.swing.sequence
Interface SequenceFetcher
- All Known Implementing Classes:
- SequenceXMLFetcher
- public interface SequenceFetcher
This is the interface defining a specification for fetching data for SequenceView.
Method Summary |
org.jdom.Document |
getDocument()
The xml document: based on JDOM documentation, JDOM document is not loaded
in the memory. |
org.jdom.Namespace |
getNamespace()
The namespace of the root if any. |
org.jdom.Element |
getRoot()
An xml root element: for a whole chromosome, this should be the chromsome element. |
getRoot
public org.jdom.Element getRoot()
- An xml root element: for a whole chromosome, this should be the chromsome element.
However, other kinds of elements can also be returned
- Returns:
- the root element.
getDocument
public org.jdom.Document getDocument()
- The xml document: based on JDOM documentation, JDOM document is not loaded
in the memory. By returning a document, hopefully, the whole document can be
manipluated. However, these operations can also be done by using root.
- Returns:
- the xml document.
getNamespace
public org.jdom.Namespace getNamespace()
- The namespace of the root if any.
- Returns:
- the namespace for the root.