public class SimpleHomologeneBuilder extends Object implements HomologeneBuilder
ACCESSION, CURATED, HOMOID, LOCUSID, MULTIPLE, PERCENTIDENTITY, REFERENCE, SIMILARITYTYPE, TAXONID, TWIN
Constructor and Description |
---|
SimpleHomologeneBuilder() |
Modifier and Type | Method and Description |
---|---|
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
|
public SimpleHomologeneBuilder()
public void startDB()
HomologeneBuilder
startDB
in interface HomologeneBuilder
public void startGroup()
HomologeneBuilder
startGroup
in interface HomologeneBuilder
public void startOrthoPair()
HomologeneBuilder
startOrthoPair
in interface HomologeneBuilder
public void startOrthologue()
HomologeneBuilder
startOrthologue
in interface HomologeneBuilder
public void addOrthologueProperty(String key, String value)
HomologeneBuilder
addOrthologueProperty
in interface HomologeneBuilder
public void endOrthologue()
HomologeneBuilder
endOrthologue
in interface HomologeneBuilder
public void addOrthoPairProperty(String key, String value)
HomologeneBuilder
addOrthoPairProperty
in interface HomologeneBuilder
public void endOrthoPair()
HomologeneBuilder
endOrthoPair
in interface HomologeneBuilder
public void addTitle(int taxonID, String homologeneID, String title)
HomologeneBuilder
addTitle
in interface HomologeneBuilder
public void endGroup()
HomologeneBuilder
endGroup
in interface HomologeneBuilder
public void endDB()
HomologeneBuilder
endDB
in interface HomologeneBuilder
public HomologeneDB getDB()
HomologeneBuilder
getDB
in interface HomologeneBuilder
Copyright © 2014 BioJava. All rights reserved.