|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OBOIdType>
org.coode.owlapi.obo.parser.OBOIdType
public enum OBOIdType
Author: Matthew Horridge
Stanford University
Bio-Medical Informatics Research Group
Date: 19/04/2012
Describes the types of OBO IDs that can be found in OBO Files. Taken from Section 2.5 of the OBO Syntax and Semantics Specification.
| Enum Constant Summary | |
|---|---|
CANONICAL_PREFIXED_ID
Must contain a colon character in the ID. |
|
NON_CANONICAL_PREFIXED_ID
Must contain a colon character somewhere in the ID. |
|
UNPREFIXED_ID
Any unprefixed ID. |
|
URL_AS_ID
Any string with an http: or https: prefix. |
|
| Method Summary | |
|---|---|
static OBOIdType |
getIdType(String oboId)
Gets the OBOIdType for a given OBO ID. |
org.semanticweb.owlapi.model.IRI |
getIRIFromOBOId(org.semanticweb.owlapi.model.OWLOntologyID ontologyID,
IDSpaceManager idSpaceManager,
String oboId)
|
Pattern |
getPattern()
|
static OBOIdType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OBOIdType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OBOIdType URL_AS_ID
public static final OBOIdType UNPREFIXED_ID
public static final OBOIdType CANONICAL_PREFIXED_ID
public static final OBOIdType NON_CANONICAL_PREFIXED_ID
| Method Detail |
|---|
public static OBOIdType[] values()
for (OBOIdType c : OBOIdType.values()) System.out.println(c);
public static OBOIdType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Pattern getPattern()
public org.semanticweb.owlapi.model.IRI getIRIFromOBOId(org.semanticweb.owlapi.model.OWLOntologyID ontologyID,
IDSpaceManager idSpaceManager,
String oboId)
public static OBOIdType getIdType(String oboId)
oboId - The OBO ID. Must not be null.
null if the specified oboId does not conform to
any OBO Id type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||