org.semanticweb.elk.loading
Class EmptyAxiomLoader

java.lang.Object
  extended by org.semanticweb.elk.loading.AbstractAxiomLoader
      extended by org.semanticweb.elk.loading.EmptyAxiomLoader
All Implemented Interfaces:
AxiomLoader

public class EmptyAxiomLoader
extends AbstractAxiomLoader
implements AxiomLoader

An AxiomLoader that loads nothing

Author:
"Yevgeny Kazakov"

Constructor Summary
EmptyAxiomLoader()
           
 
Method Summary
 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
 
Methods inherited from class org.semanticweb.elk.loading.AbstractAxiomLoader
dispose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.elk.loading.AxiomLoader
dispose
 

Constructor Detail

EmptyAxiomLoader

public EmptyAxiomLoader()
Method Detail

load

public void load(ElkAxiomProcessor axiomInserter,
                 ElkAxiomProcessor axiomDeleter)
          throws ElkLoadingException
Description copied from interface: AxiomLoader
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

Specified by:
load in interface AxiomLoader
Specified by:
load in class AbstractAxiomLoader
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

public boolean isLoadingFinished()
Specified by:
isLoadingFinished in interface AxiomLoader
Specified by:
isLoadingFinished in class AbstractAxiomLoader
Returns:
true if the loading is finished, i.e., calling AxiomLoader.load(ElkAxiomProcessor, ElkAxiomProcessor) will have no effect


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