org.apache.stanbol.enhancer.servicesapi.rdf
Enum NamespaceEnum

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

public enum NamespaceEnum
extends java.lang.Enum<NamespaceEnum>


Enum Constant Summary
dbpedia_ont
           
dc
           
em
          Namespace for the Stanbol Enhancer Execution Metadata ontology
enhancer
          The Stanbol Enhancer namespace defining Enhancer, EnhancementEngine and EnhancementChain.
ep
          Namespace for the Stanbol Enhancer Execution Plan ontology
fise
          The FISE namespace (1st version of the Enhancement Structure).
foaf
           
geo
           
geonames
           
georss
           
media
          The W3C Ontology for Media Resources http://www.w3.org/TR/mediaont-10/
nie
           
rdf
           
rdfs
           
skos
           
 
Method Summary
 java.lang.String getNamespace()
           
 java.lang.String getPrefix()
           
 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

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.


dbpedia_ont

public static final NamespaceEnum dbpedia_ont

rdf

public static final NamespaceEnum rdf

rdfs

public static final NamespaceEnum rdfs

dc

public static final NamespaceEnum dc

skos

public static final NamespaceEnum skos

foaf

public static final NamespaceEnum foaf

geonames

public static final NamespaceEnum geonames

georss

public static final NamespaceEnum georss

geo

public static final NamespaceEnum geo

nie

public static final NamespaceEnum nie

ep

public static final NamespaceEnum ep
Namespace for the Stanbol Enhancer Execution Plan ontology


em

public static final NamespaceEnum em
Namespace for the Stanbol Enhancer Execution Metadata ontology


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


media

public static final NamespaceEnum media
The W3C Ontology for Media Resources http://www.w3.org/TR/mediaont-10/

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getNamespace

public java.lang.String getNamespace()

getPrefix

public java.lang.String getPrefix()

toString

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


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