public class NCBIImporter extends AbstractImporter
CLEAN_PARANTHESIS, CLEAN_REDUCE, db, ontologyName, REDUCE_SPACES
Constructor and Description |
---|
NCBIImporter(OntologyDatabase db)
Instanciates the importer for the given database.
|
Modifier and Type | Method and Description |
---|---|
static Collection<NodeName> |
cleanNodeNames(Collection<NodeName> names) |
protected void |
parseXML(OntologyHandle onto,
XMLStreamReader parser)
Flushes all data from xml into db.
|
importOntology
public NCBIImporter(OntologyDatabase db)
db
- is a reference to the database in which the ontology should be
stored.public static Collection<NodeName> cleanNodeNames(Collection<NodeName> names)
protected void parseXML(OntologyHandle onto, XMLStreamReader parser) throws XMLStreamException
AbstractImporter
parseXML
in class AbstractImporter
parser
- , the XMLStreamReader for the Drugbank xmlXMLStreamException
Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie