org.semanticweb.skosapibinding
Enum SKOSFormatExt

java.lang.Object
  extended by java.lang.Enum<SKOSFormatExt>
      extended by org.semanticweb.skosapibinding.SKOSFormatExt
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SKOSFormatExt>, SKOSFormat

public enum SKOSFormatExt
extends java.lang.Enum<SKOSFormatExt>
implements SKOSFormat

Author: Simon Jupp
Date: Aug 27, 2008
The University of Manchester
Bio-Health Informatics Group


Enum Constant Summary
MOS
           
OWLXML
           
RDFXML
           
TURTRLE
           
 
Method Summary
 org.semanticweb.owl.model.OWLOntologyFormat getFormat()
           
static SKOSFormatExt valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SKOSFormatExt[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RDFXML

public static final SKOSFormatExt RDFXML

TURTRLE

public static final SKOSFormatExt TURTRLE

OWLXML

public static final SKOSFormatExt OWLXML

MOS

public static final SKOSFormatExt MOS
Method Detail

values

public static final SKOSFormatExt[] 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(SKOSFormatExt c : SKOSFormatExt.values())
        System.out.println(c);

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

valueOf

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

getFormat

public org.semanticweb.owl.model.OWLOntologyFormat getFormat()
                                                      throws SKOSUnkownFormatException
Specified by:
getFormat in interface SKOSFormat
Throws:
SKOSUnkownFormatException