public class OBOTagValuePairList extends Object
| Constructor and Description |
|---|
OBOTagValuePairList(List<OBOVocabulary> knownVocab) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPair(org.semanticweb.owlapi.model.IRI tag,
String value) |
void |
addPair(OBOVocabulary tag,
String value) |
Set<String> |
getValues(OBOVocabulary key) |
void |
setDefault(org.semanticweb.owlapi.model.IRI tag,
String value) |
void |
setDefault(OBOVocabulary tag,
String value) |
void |
setPair(OBOVocabulary key,
String value) |
void |
visit(org.semanticweb.owlapi.model.OWLAnnotation annot) |
void |
write(Writer w) |
public OBOTagValuePairList(List<OBOVocabulary> knownVocab)
knownVocab - the set of tags that are known by this generatorpublic void visit(org.semanticweb.owlapi.model.OWLAnnotation annot)
annot - annotpublic void addPair(OBOVocabulary tag, String value)
tag - tagvalue - valuepublic void addPair(org.semanticweb.owlapi.model.IRI tag,
String value)
tag - tagvalue - valuepublic void setPair(OBOVocabulary key, String value)
key - keyvalue - valuepublic void setDefault(OBOVocabulary tag, String value)
tag - tagvalue - valuepublic void setDefault(org.semanticweb.owlapi.model.IRI tag,
String value)
tag - tagvalue - valuepublic Set<String> getValues(OBOVocabulary key)
key - keypublic void write(Writer w)
w - wCopyright © 2014 The University of Manchester. All Rights Reserved.