public class OboFileHandler extends Object implements OboFileEventListener
Modifier and Type | Field and Description |
---|---|
static String |
ALT_ID |
static String |
BROAD_SYNONYM |
static String |
COMMENT |
static String |
DEF |
static String |
DISJOINT_FROM |
static String |
EXACT_SYNONYM |
static String |
ID_KEY |
static String |
INTERSECTION_OF |
static String |
IS_A |
static String |
IS_OBSOLETE |
static String |
NAME |
static String |
NAMESPACE |
static String |
NARROW_SYNONYM |
static String |
ONTOLOGY |
static String |
REL_SYNONYM |
static String |
RELATIONSHIP |
static String |
SUBSET |
static String |
SYNONYM |
static String |
TERM |
static String |
TYPEDEF |
static String |
XREF_ANALOG |
Constructor and Description |
---|
OboFileHandler(Ontology ontology) |
Modifier and Type | Method and Description |
---|---|
void |
documentEnd()
end of parsing a new OBO file
|
void |
documentStart()
starting to parse a new OBO file
|
void |
newKey(String key,
String value)
found a new key in the file
|
void |
newOboFileHeader()
parsed a new OBO file header
|
void |
newStanza(String stanza)
parsed a new stanza in the file
|
void |
newSynonym(Synonym synonym)
a new synonym has been found
|
public static final String TERM
public static final String TYPEDEF
public static final String ONTOLOGY
public static final String ID_KEY
public static final String SYNONYM
public static final String EXACT_SYNONYM
public static final String BROAD_SYNONYM
public static final String NARROW_SYNONYM
public static final String REL_SYNONYM
public static final String NAME
public static final String DEF
public static final String XREF_ANALOG
public static final String COMMENT
public static final String IS_A
public static final String IS_OBSOLETE
public static final String RELATIONSHIP
public static final String DISJOINT_FROM
public static final String SUBSET
public static final String INTERSECTION_OF
public static final String NAMESPACE
public static final String ALT_ID
public OboFileHandler(Ontology ontology)
public void documentEnd()
OboFileEventListener
documentEnd
in interface OboFileEventListener
public void documentStart()
OboFileEventListener
documentStart
in interface OboFileEventListener
public void newOboFileHeader()
OboFileEventListener
newOboFileHeader
in interface OboFileEventListener
public void newStanza(String stanza)
OboFileEventListener
newStanza
in interface OboFileEventListener
public void newKey(String key, String value)
OboFileEventListener
newKey
in interface OboFileEventListener
public void newSynonym(Synonym synonym)
OboFileEventListener
newSynonym
in interface OboFileEventListener
Copyright © 2000–2018 BioJava. All rights reserved.