org.openrdf.repository.object.compiler
Class OntologyLoader

java.lang.Object
  extended by org.openrdf.repository.object.compiler.OntologyLoader

public class OntologyLoader
extends Object

Reads ontologies and schemas into memory from remote sources.

Author:
James Leigh

Constructor Summary
OntologyLoader(Model model)
           
 
Method Summary
 void followImports()
           
 List<URL> getImported()
           
 Model getModel()
           
 Map<URI,Map<String,String>> getNamespaces()
          context -> prefix -> namespace
 void loadOntologies(List<URL> urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyLoader

public OntologyLoader(Model model)
Method Detail

getImported

public List<URL> getImported()

getModel

public Model getModel()

getNamespaces

public Map<URI,Map<String,String>> getNamespaces()
context -> prefix -> namespace


loadOntologies

public void loadOntologies(List<URL> urls)
                    throws RDFParseException,
                           IOException
Throws:
RDFParseException
IOException

followImports

public void followImports()
                   throws RDFParseException,
                          IOException
Throws:
RDFParseException
IOException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.