|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jadex.swing.sequence.SequenceXMLFetcher
A subclass SequenceFetcher to get data from a XML document.
Constructor Summary | |
SequenceXMLFetcher()
Default constructor |
|
SequenceXMLFetcher(java.io.InputStream input)
Third constructor: more general than the second one |
|
SequenceXMLFetcher(java.io.InputStream input,
java.lang.String saxdriver)
Fourth constructor |
|
SequenceXMLFetcher(java.lang.String file)
Second constructor |
Method Summary | |
org.jdom.Document |
getDocument()
Get the XML document containing all Sequence element information. |
org.jdom.Namespace |
getNamespace()
The namespace of the root if any. |
org.jdom.Element |
getRoot()
Get the root of the chromosome XML document. |
void |
setDocument(org.jdom.Document doc)
Set the XML document containing all sequence element information. |
void |
setSource(java.io.InputStream input)
Create a xml document based on an input stream. |
void |
setSource(java.io.InputStream input,
java.lang.String saxdriver)
Overloaded method to set the source of xml. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceXMLFetcher()
public SequenceXMLFetcher(java.lang.String file)
file
- input file namepublic SequenceXMLFetcher(java.io.InputStream input)
input
- the source input streampublic SequenceXMLFetcher(java.io.InputStream input, java.lang.String saxdriver)
input
- the data source
& @param saxdriver the name of saxdriverMethod Detail |
public void setSource(java.io.InputStream input)
input
- document courcepublic void setSource(java.io.InputStream input, java.lang.String saxdriver)
input
- the source for the XML document.saxdriver
- the SAX driver used for XML parser.public org.jdom.Element getRoot()
getRoot
in interface SequenceFetcher
public org.jdom.Document getDocument()
getDocument
in interface SequenceFetcher
public org.jdom.Namespace getNamespace()
getNamespace
in interface SequenceFetcher
jadex.swing.sequence.SequenceFetcher
public void setDocument(org.jdom.Document doc)
doc
- the XML document containing all sequence information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |