|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.program.homologene.SimpleHomologeneBuilder
public class SimpleHomologeneBuilder
A simple no-frills implementation of the HomologeneBuilder interface. Used to instantiate a in-memory copy of the Homologene data.
| Field Summary |
|---|
| Fields inherited from interface org.biojava.bio.program.homologene.HomologeneBuilder |
|---|
ACCESSION, CURATED, HOMOID, LOCUSID, MULTIPLE, PERCENTIDENTITY, REFERENCE, SIMILARITYTYPE, TAXONID, TWIN |
| Constructor Summary | |
|---|---|
SimpleHomologeneBuilder()
|
|
| Method Summary | |
|---|---|
void |
addOrthologueProperty(String key,
String value)
add a property to the current Orthologue |
void |
addOrthoPairProperty(String key,
String value)
add a property to the current OrthoPair |
void |
addTitle(int taxonID,
String homologeneID,
String title)
add title information to an Orthologue (this is not in enclosed in the Orthologue element because it comes completely separate in the Homologene data files. |
void |
endDB()
end of data for DB |
void |
endGroup()
end of data for group |
void |
endOrthologue()
end of data for this Orthologue |
void |
endOrthoPair()
end of data for this OrthoPair |
HomologeneDB |
getDB()
retrieve the DB that has just been built |
void |
startDB()
indicates start of data for a HomologeneDB |
void |
startGroup()
indicates start of data for a OrthoPairSet |
void |
startOrthologue()
indicates start of data for an orthologue |
void |
startOrthoPair()
indicates start of data for an OrthoPair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleHomologeneBuilder()
| Method Detail |
|---|
public void startDB()
HomologeneBuilder
startDB in interface HomologeneBuilderpublic void startGroup()
HomologeneBuilder
startGroup in interface HomologeneBuilderpublic void startOrthoPair()
HomologeneBuilder
startOrthoPair in interface HomologeneBuilderpublic void startOrthologue()
HomologeneBuilder
startOrthologue in interface HomologeneBuilder
public void addOrthologueProperty(String key,
String value)
HomologeneBuilder
addOrthologueProperty in interface HomologeneBuilderpublic void endOrthologue()
HomologeneBuilder
endOrthologue in interface HomologeneBuilder
public void addOrthoPairProperty(String key,
String value)
HomologeneBuilder
addOrthoPairProperty in interface HomologeneBuilderpublic void endOrthoPair()
HomologeneBuilder
endOrthoPair in interface HomologeneBuilder
public void addTitle(int taxonID,
String homologeneID,
String title)
HomologeneBuilder
addTitle in interface HomologeneBuilderpublic void endGroup()
HomologeneBuilder
endGroup in interface HomologeneBuilderpublic void endDB()
HomologeneBuilder
endDB in interface HomologeneBuilderpublic HomologeneDB getDB()
HomologeneBuilder
getDB in interface HomologeneBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||