org.semanticweb.owl.vocab
Enum Namespaces

java.lang.Object
  extended by java.lang.Enum<Namespaces>
      extended by org.semanticweb.owl.vocab.Namespaces
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Namespaces>

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

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Dec-2006


Enum Constant Summary
OWL
           
OWL11
           
OWL11XML
           
OWL2
           
OWL2XML
           
RDF
           
RDFS
           
SKOS
           
SWRL
           
SWRLB
           
XML
           
XSD
           
 
Method Summary
 java.lang.String toString()
           
static Namespaces valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Namespaces[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OWL2XML

public static final Namespaces OWL2XML

OWL2

public static final Namespaces OWL2

OWL11XML

public static final Namespaces OWL11XML

OWL11

public static final Namespaces OWL11

OWL

public static final Namespaces OWL

RDFS

public static final Namespaces RDFS

RDF

public static final Namespaces RDF

XSD

public static final Namespaces XSD

XML

public static final Namespaces XML

SWRL

public static final Namespaces SWRL

SWRLB

public static final Namespaces SWRLB

SKOS

public static final Namespaces SKOS
Method Detail

values

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

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

valueOf

public static Namespaces 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

toString

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