|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NamespaceEnum>
org.apache.stanbol.entityhub.servicesapi.defaults.NamespaceEnum
public enum NamespaceEnum
Defines commonly used name spaces to prevent multiple definitions in several classes
| Enum Constant Summary | |
|---|---|
atom
|
|
bio
|
|
cc
|
|
cmis
|
|
cmisRa
|
|
dailymed
Dailymed is published by the National Library of Medicine, and provides high quality information about marketed drugs. |
|
dbpediaOnt
|
|
dbpediaProp
|
|
dcElements
|
|
dcTerms
|
|
diseasome
Diseasome publishes a network of 4,300 disorders and disease genes linked by known disorder-gene associations for exploring all known phenotype and disease gene associations, indicating the common genetic origin of many diseases. |
|
drugbank
DrugBank is a repository of almost 5000 FDA-approved small molecule and biotech drugs. |
|
entityhubModel
|
|
entityhubQuery
|
|
foaf
|
|
geo
|
|
geonames
|
|
georss
|
|
gml
|
|
goodRelations
|
|
jcr
|
|
jcrMix
|
|
jcrNt
|
|
jcrSv
|
|
linkedct
The Linked Clinical Trials (LinkedCT) project aims at publishing the first open Semantic Web data source for clinical trials data. |
|
media
The W3C Ontology for Media Resources http://www.w3.org/TR/mediaont-10/ |
|
nci
National Cancer Institute Thesaurus (http://www.mindswap.org/2003/CancerOntology/) |
|
owl
|
|
rdf
|
|
rdfs
|
|
rss
|
|
schema
|
|
sider
SIDER contains information on marketed drugs and their adverse effects. |
|
sioc
|
|
siocTypes
|
|
skos
|
|
stitch
STITCH contains information on chemicals and proteins as well as their interactions and links. |
|
swrc
|
|
tcm
|
|
vCal
|
|
vCard
|
|
xml
|
|
xsd
|
|
xsi
|
|
| Method Summary | |
|---|---|
static NamespaceEnum |
forNamespace(java.lang.String namespace)
Getter for the NamespaceEnum entry based on the string namespace |
static NamespaceEnum |
forPrefix(java.lang.String prefix)
Getter for the NamespaceEnum entry based on the prefix |
static java.lang.String |
getFullName(java.lang.String shortUri)
Lookup if the parsed short URI (e.g "rdfs:label") uses one of the registered prefixes of this Enumeration of if the parsed short URI uses the default namespace (e.g. |
java.lang.String |
getNamespace()
|
java.lang.String |
getPrefix()
|
static java.lang.String |
getShortName(java.lang.String fullUri)
Parsed the namespace of the parsed full URI by searching the last occurrence of '#' or '/' and than looks if the namespace is part of this enumeration. |
boolean |
isDefault()
|
java.lang.String |
toString()
|
static NamespaceEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NamespaceEnum[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NamespaceEnum entityhubModel
public static final NamespaceEnum entityhubQuery
public static final NamespaceEnum xsd
public static final NamespaceEnum xsi
public static final NamespaceEnum xml
public static final NamespaceEnum rdf
public static final NamespaceEnum rdfs
public static final NamespaceEnum owl
public static final NamespaceEnum atom
public static final NamespaceEnum cmis
public static final NamespaceEnum cmisRa
public static final NamespaceEnum jcr
public static final NamespaceEnum jcrSv
public static final NamespaceEnum jcrNt
public static final NamespaceEnum jcrMix
public static final NamespaceEnum geo
public static final NamespaceEnum georss
public static final NamespaceEnum gml
public static final NamespaceEnum dcElements
public static final NamespaceEnum dcTerms
public static final NamespaceEnum foaf
public static final NamespaceEnum vCal
public static final NamespaceEnum vCard
public static final NamespaceEnum skos
public static final NamespaceEnum sioc
public static final NamespaceEnum siocTypes
public static final NamespaceEnum bio
public static final NamespaceEnum rss
public static final NamespaceEnum goodRelations
public static final NamespaceEnum swrc
public static final NamespaceEnum dbpediaOnt
public static final NamespaceEnum dbpediaProp
public static final NamespaceEnum geonames
public static final NamespaceEnum cc
public static final NamespaceEnum schema
public static final NamespaceEnum media
public static final NamespaceEnum drugbank
public static final NamespaceEnum dailymed
public static final NamespaceEnum sider
public static final NamespaceEnum linkedct
public static final NamespaceEnum stitch
public static final NamespaceEnum diseasome
public static final NamespaceEnum nci
public static final NamespaceEnum tcm
| Method Detail |
|---|
public static NamespaceEnum[] values()
for (NamespaceEnum c : NamespaceEnum.values()) System.out.println(c);
public static NamespaceEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getNamespace()
public java.lang.String getPrefix()
public java.lang.String toString()
toString in class java.lang.Enum<NamespaceEnum>public static NamespaceEnum forNamespace(java.lang.String namespace)
NamespaceEnum entry based on the string namespace
namespace - the name space
NamespaceEnum entry or null if the prased
namespace is not presentpublic static NamespaceEnum forPrefix(java.lang.String prefix)
NamespaceEnum entry based on the prefix
prefix - the prefix or null to get the default namespace
NamespaceEnum entry or null if the prased
prefix is not presentpublic static java.lang.String getFullName(java.lang.String shortUri)
shortUri - the short URI
public static java.lang.String getShortName(java.lang.String fullUri)
fullUri - the full uri to convert
null was
parsed, no local name was present (e.g. if the namespace itself was parsed)
or the parsed namespace is not known.public boolean isDefault()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||