edu.stanford.smi.protegex.owl.jena.parser
Class ImplicitImports

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.jena.parser.ImplicitImports

public class ImplicitImports
extends Object

A Singleton that manages the list of namespaces (such as DC) that shall be imported internally if resources from it are referenced as untyped in a file.

Author:
Holger Knublauch

Field Summary
static File FILE
           
static String LOCAL_FILE_NAME
           
private static Set namespaces
           
 
Constructor Summary
ImplicitImports()
           
 
Method Summary
static boolean isImplicitImport(String namespace)
          Checks whether a given namespace shall be imported even if no explicit owl:imports statement is found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL_FILE_NAME

public static final String LOCAL_FILE_NAME
See Also:
Constant Field Values

FILE

public static final File FILE

namespaces

private static Set namespaces
Constructor Detail

ImplicitImports

public ImplicitImports()
Method Detail

isImplicitImport

public static boolean isImplicitImport(String namespace)
Checks whether a given namespace shall be imported even if no explicit owl:imports statement is found.

Parameters:
namespace - the namespace in question
Returns:
true if the namespace shall be imported