|
||||||||||
| 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
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
bio
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
cc
Creative Commons as used by the Entityhub for license and attribution information |
|
cmis
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
cmisRa
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
dailymed
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
dbpediaOnt
THe DBpedia.org ontology (dbp-ont:Person, dbp-ont:Organisation, dbp-ont:Place, ...) |
|
dbpediaProp
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
dcElements
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
dcTerms
The DC terms ontology as used by the Entityhub to manage metadata such as creator, creation/modification dates as well as linking to the license |
|
disambiguation
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
diseasome
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
drugbank
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
enhancer
The Stanbol Enhancer namespace defining Enhancer, EnhancementEngine and EnhancementChain. |
|
entityhub
The Namespace used by the Entityhub to define its concepts such as Entity, Representation ... |
|
entityhubQuery
The namespace used by the Entityhub to define query related concepts e.g. |
|
event
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
fise
The FISE namespace (1st version of the Enhancement Structure). |
|
foaf
FOAF ontology used as type for the resource providing metadata about an Entity (foaf:Document) |
|
frbr
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
geo
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
geonames
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
georss
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
gml
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
goodRelations
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
jcr
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
jcrMix
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
jcrNt
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
jcrSv
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
linkedct
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
media
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
mo
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
nci
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
owl
The OWL namespace (owl:sameAs) |
|
owlTime
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
rdf
The RDF namespace (rdf:type) |
|
rdfs
The RDFS namespace (rdfs:label, rdfs:comment, rdfs:seeAlso) |
|
rel
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
rickModel
Deprecated. |
|
rickQuery
Deprecated. |
|
rss
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
schema
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
sider
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
sioc
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
siocTypes
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
skos
The SKOS namespace (skos:Concept) |
|
stitch
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
swrc
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
tcm
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
timeline
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
vCal
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
vCard
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
|
xml
The XML namespace as used by the language attribute of XML and the language for RDF literals |
|
xsd
The XSD namespace as used by the datatypes of XML and RDF literals |
|
xsi
The XSI namespace |
|
| Method Summary | |
|---|---|
static NamespaceEnum |
forNamespace(String namespace)
Getter for the NamespaceEnum entry based on the string namespace |
static NamespaceEnum |
forPrefix(String prefix)
Getter for the NamespaceEnum entry based on the prefix |
static String |
getFullName(String shortUri)
Deprecated. To obtain the fullName for an URI users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) NOTE that this service will return null if a shortUri
was parsed AND no mapping for the prefix was defined. This is different to
this version that would return the parsed string. |
String |
getNamespace()
|
String |
getPrefix()
|
static String |
getShortName(String fullUri)
Deprecated. To obtain the shortName for an URI users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
boolean |
isDefault()
Deprecated. To obtain the default namespace please lookup the prefx '' on the the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824) |
String |
toString()
|
static NamespaceEnum |
valueOf(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 enhancer
public static final NamespaceEnum entityhub
public static final NamespaceEnum entityhubQuery
public static final NamespaceEnum fise
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
public static final NamespaceEnum mo
public static final NamespaceEnum owlTime
public static final NamespaceEnum event
public static final NamespaceEnum timeline
public static final NamespaceEnum rel
public static final NamespaceEnum frbr
public static final NamespaceEnum disambiguation
@Deprecated public static final NamespaceEnum rickModel
NamespaceEnum#entityhubModel@Deprecated public static final NamespaceEnum rickQuery
entityhubQuery| Method Detail |
|---|
public static NamespaceEnum[] values()
for (NamespaceEnum c : NamespaceEnum.values()) System.out.println(c);
public static NamespaceEnum 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 String getNamespace()
public String getPrefix()
public String toString()
toString in class Enum<NamespaceEnum>public static NamespaceEnum forNamespace(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(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 String getFullName(String shortUri)
null if a shortUri
was parsed AND no mapping for the prefix was defined. This is different to
this version that would return the parsed string.
shortUri - the short URI
null) the parsed value.public static String getShortName(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 | |||||||||