org.apache.stanbol.entityhub.servicesapi.defaults
Enum NamespaceEnum

java.lang.Object
  extended by java.lang.Enum<NamespaceEnum>
      extended by org.apache.stanbol.entityhub.servicesapi.defaults.NamespaceEnum
All Implemented Interfaces:
Serializable, Comparable<NamespaceEnum>

public enum NamespaceEnum
extends Enum<NamespaceEnum>

Defines commonly used name spaces to prevent multiple definitions in several classes

Author:
Rupert Westenthaler

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

enhancer

public static final NamespaceEnum enhancer
The Stanbol Enhancer namespace defining Enhancer, EnhancementEngine and EnhancementChain. This is NOT the namespace of the enhancement structure. As EnhancementStrucutre up to now still the old FISE namespace is used.


entityhub

public static final NamespaceEnum entityhub
The Namespace used by the Entityhub to define its concepts such as Entity, Representation ...


entityhubQuery

public static final NamespaceEnum entityhubQuery
The namespace used by the Entityhub to define query related concepts e.g. the full text search field, semantic context field, result score ...


fise

public static final NamespaceEnum fise
The FISE namespace (1st version of the Enhancement Structure). Will be replaced by the Stanbol Enhancement Structure by a future release (see STANBOL-3).


xsd

public static final NamespaceEnum xsd
The XSD namespace as used by the datatypes of XML and RDF literals


xsi

public static final NamespaceEnum xsi
The XSI namespace


xml

public static final NamespaceEnum xml
The XML namespace as used by the language attribute of XML and the language for RDF literals


rdf

public static final NamespaceEnum rdf
The RDF namespace (rdf:type)


rdfs

public static final NamespaceEnum rdfs
The RDFS namespace (rdfs:label, rdfs:comment, rdfs:seeAlso)


owl

public static final NamespaceEnum owl
The OWL namespace (owl:sameAs)


atom

public static final NamespaceEnum atom
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

cmis

public static final NamespaceEnum 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

public static final NamespaceEnum cmisRa
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

jcr

public static final NamespaceEnum jcr
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

jcrSv

public static final NamespaceEnum jcrSv
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

jcrNt

public static final NamespaceEnum jcrNt
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

jcrMix

public static final NamespaceEnum jcrMix
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

geo

public static final NamespaceEnum geo
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

georss

public static final NamespaceEnum 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

public static final NamespaceEnum gml
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

dcElements

public static final NamespaceEnum 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

public static final NamespaceEnum 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


foaf

public static final NamespaceEnum foaf
FOAF ontology used as type for the resource providing metadata about an Entity (foaf:Document)


vCal

public static final NamespaceEnum 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

public static final NamespaceEnum vCard
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

skos

public static final NamespaceEnum skos
The SKOS namespace (skos:Concept)


sioc

public static final NamespaceEnum 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

public static final NamespaceEnum siocTypes
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

bio

public static final NamespaceEnum bio
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

rss

public static final NamespaceEnum rss
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

goodRelations

public static final NamespaceEnum goodRelations
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

swrc

public static final NamespaceEnum swrc
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

dbpediaOnt

public static final NamespaceEnum dbpediaOnt
THe DBpedia.org ontology (dbp-ont:Person, dbp-ont:Organisation, dbp-ont:Place, ...)


dbpediaProp

public static final NamespaceEnum dbpediaProp
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

geonames

public static final NamespaceEnum geonames
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

cc

public static final NamespaceEnum cc
Creative Commons as used by the Entityhub for license and attribution information


schema

public static final NamespaceEnum schema
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

media

public static final NamespaceEnum media
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The W3C Ontology for Media Resources http://www.w3.org/TR/mediaont-10/


drugbank

public static final NamespaceEnum drugbank
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
DrugBank is a repository of almost 5000 FDA-approved small molecule and biotech drugs.


dailymed

public static final NamespaceEnum dailymed
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
Dailymed is published by the National Library of Medicine, and provides high quality information about marketed drugs.


sider

public static final NamespaceEnum sider
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
SIDER contains information on marketed drugs and their adverse effects. The information is extracted from public documents and package inserts.


linkedct

public static final NamespaceEnum linkedct
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The Linked Clinical Trials (LinkedCT) project aims at publishing the first open Semantic Web data source for clinical trials data.


stitch

public static final NamespaceEnum stitch
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
STITCH contains information on chemicals and proteins as well as their interactions and links.


diseasome

public static final NamespaceEnum diseasome
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
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.


nci

public static final NamespaceEnum nci
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
National Cancer Institute Thesaurus (http://www.mindswap.org/2003/CancerOntology/)


tcm

public static final NamespaceEnum tcm
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)

mo

public static final NamespaceEnum mo
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The Music Ontology (http://musicontology.com/)


owlTime

public static final NamespaceEnum owlTime
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The Time ontology (http://www.w3.org/TR/owl-time/)


event

public static final NamespaceEnum event
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The Event ontology (http://purl.org/NET/c4dm/event.owl#)


timeline

public static final NamespaceEnum timeline
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
The Timeline ontology (http://purl.org/NET/c4dm/timeline.owl#)


rel

public static final NamespaceEnum rel
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
Relationship: A vocabulary for describing relationships between people (http://purl.org/vocab/relationship/)


frbr

public static final NamespaceEnum frbr
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
Expression of Core FRBR Concepts in RDF (http://vocab.org/frbr/core)


disambiguation

public static final NamespaceEnum disambiguation
Deprecated. All none core namespaces where deprecated. Users should use the NamespacePrefixService (module: org.apache.stanbol.commons.namespaceprefixservice) instead (see also STANBOL-824)
Special namespace used for disambiguation metadata


rickModel

@Deprecated
public static final NamespaceEnum rickModel
Deprecated. 
The old URI for the 'entityhub' namespace prefix as used by STANBOL 0.9.0-incubating.

See Also:
NamespaceEnum#entityhubModel

rickQuery

@Deprecated
public static final NamespaceEnum rickQuery
Deprecated. 
The old URI for the 'entityhub-query' namespace prefix as used by STANBOL 0.9.0-incubating.

See Also:
entityhubQuery
Method Detail

values

public static NamespaceEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NamespaceEnum c : NamespaceEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NamespaceEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNamespace

public String getNamespace()

getPrefix

public String getPrefix()

toString

public String toString()
Overrides:
toString in class Enum<NamespaceEnum>

forNamespace

public static NamespaceEnum forNamespace(String namespace)
Getter for the NamespaceEnum entry based on the string namespace

Parameters:
namespace - the name space
Returns:
the NamespaceEnum entry or null if the prased namespace is not present

forPrefix

public static NamespaceEnum forPrefix(String prefix)
Getter for the NamespaceEnum entry based on the prefix

Parameters:
prefix - the prefix or null to get the default namespace
Returns:
the NamespaceEnum entry or null if the prased prefix is not present

getFullName

public 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.

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. "name"). In case the prefix could not be found the parsed URI is returned unchanged

Parameters:
shortUri - the short URI
Returns:
the full URI if the parsed shortUri uses a prefix defined by this Enumeration. Otherwise (including null) the parsed value.

getShortName

public 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)

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. If a namesoace is found it is replaced by the registered prefix. If not the parsed URI is resturned

Parameters:
fullUri - the full uri to convert
Returns:
the converted URI or the parsed value of null was parsed, no local name was present (e.g. if the namespace itself was parsed) or the parsed namespace is not known.

isDefault

public 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)

Returns:
the defaultPrefix


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.