org.semanticweb.elk.owl
Class ElkAxiomBuffer
java.lang.Object
org.semanticweb.elk.owl.ElkAxiomBuffer
- All Implemented Interfaces:
- ElkAxiomProcessor
public class ElkAxiomBuffer
- extends Object
- implements ElkAxiomProcessor
Simple ElkAxiomProcessor that merely buffers axioms to send them to
another processor later on. This is useful for performance measurements, in
particular for decoupling parsing time from indexing time. It can also be
used for re-using the same set of axioms in more than one place without
having to re-parse them again.
- Author:
- Markus Kroetzsch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
axioms
protected final ArrayList<ElkAxiom> axioms
ElkAxiomBuffer
public ElkAxiomBuffer()
visit
public void visit(ElkAxiom elkAxiom)
- Specified by:
visit in interface ElkAxiomProcessor
sendAxiomsToProcessor
public void sendAxiomsToProcessor(ElkAxiomProcessor elkAxiomProcessor)
- Send all axioms that have hitherto been processed by this object to the
given axiom processor.
- Parameters:
elkAxiomProcessor -
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.