org.semanticweb.elk.loading
Interface AxiomLoader

All Known Implementing Classes:
AbstractAxiomLoader, ComposedAxiomLoader, EmptyAxiomLoader, Owl2ParserLoader, Owl2StreamLoader

public interface AxiomLoader

An object through which axioms can be add or removed to the ontology

Author:
"Yevgeny Kazakov"

Method Summary
 void dispose()
          Close resources used by this AxiomLoader
 boolean isLoadingFinished()
           
 void load(ElkAxiomProcessor axiomInserter, ElkAxiomProcessor axiomDeleter)
          Loads pending axioms using the provided axiomInserter for inserting axioms and axiomDeleter for deleting axioms; if called twice, the already loaded axioms will not be processed again
 

Method Detail

load

void load(ElkAxiomProcessor axiomInserter,
          ElkAxiomProcessor axiomDeleter)
          throws ElkLoadingException
Loads pending axioms using the provided axiomInserter for inserting axioms and axiomDeleter for deleting axioms; if called twice, the already loaded axioms will not be processed again

Parameters:
axiomInserter - an ElkAxiomProcessor that inserts the axioms that were added
axiomDeleter - an ElkAxiomProcessor that deletes the axioms that were removed
Throws:
ElkLoadingException - if loading cannot be completed successfully

isLoadingFinished

boolean isLoadingFinished()
Returns:
true if the loading is finished, i.e., calling load(ElkAxiomProcessor, ElkAxiomProcessor) will have no effect

dispose

void dispose()
Close resources used by this AxiomLoader



Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.