com.clarkparsia.pellet.vocabulary
Enum BuiltinNamespace

java.lang.Object
  extended by java.lang.Enum<BuiltinNamespace>
      extended by com.clarkparsia.pellet.vocabulary.BuiltinNamespace
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuiltinNamespace>

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

Title:

Description:

Copyright: Copyright (c) 2008

Company: Clark & Parsia, LLC.

Author:
Evren Sirin

Enum Constant Summary
OWL
           
RDF
           
RDFS
           
SWRL
           
SWRLB
           
XSD
           
 
Field Summary
static java.util.Map<java.lang.String,BuiltinNamespace> uriMap
           
 
Method Summary
static BuiltinNamespace find(java.lang.String uri)
           
 java.lang.String getURI()
           
static BuiltinNamespace valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuiltinNamespace[] 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

OWL

public static final BuiltinNamespace OWL

RDF

public static final BuiltinNamespace RDF

RDFS

public static final BuiltinNamespace RDFS

XSD

public static final BuiltinNamespace XSD

SWRL

public static final BuiltinNamespace SWRL

SWRLB

public static final BuiltinNamespace SWRLB
Field Detail

uriMap

public static final java.util.Map<java.lang.String,BuiltinNamespace> uriMap
Method Detail

values

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

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

valueOf

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

getURI

public java.lang.String getURI()

find

public static BuiltinNamespace find(java.lang.String uri)


Copyright © 2004 Evren Sirin. All Rights Reserved.