org.dllearner.core
Enum OntologyFormat

java.lang.Object
  extended by java.lang.Enum<OntologyFormat>
      extended by org.dllearner.core.OntologyFormat
All Implemented Interfaces:
Serializable, Comparable<OntologyFormat>

public enum OntologyFormat
extends Enum<OntologyFormat>


Enum Constant Summary
KB
          internal KB format
N_TRIPLES
          N-Triple format (subformat of N3)
RDF_XML
          RDF-Triples in XML file
 
Method Summary
static OntologyFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OntologyFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RDF_XML

public static final OntologyFormat RDF_XML
RDF-Triples in XML file


N_TRIPLES

public static final OntologyFormat N_TRIPLES
N-Triple format (subformat of N3)


KB

public static final OntologyFormat KB
internal KB format

Method Detail

values

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

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

valueOf

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


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann