com.clarkparsia.pellint.util.OWLDeepEntityVisitorAdapter Maven / Gradle / Ivy
The newest version!
// Copyright (c) 2006 - 2008, Clark & Parsia, LLC.
// This source code is available under the terms of the Affero General Public License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptions.
// Questions, comments, or requests for clarification: [email protected]
package com.clarkparsia.pellint.util;
import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLDatatype;
import org.semanticweb.owlapi.model.OWLIndividual;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import org.semanticweb.owlapi.util.OWLEntityCollector;
/**
*
* Title: OWL Deep-Entity-Visitor Adapter
*
*
* Description: A visitor that visits the entire structure of any OWL entity -
* a workaround to OWLAPI since the visitor pattern was adapted such that the
* visitors are responsible for the traversals instead of the object structures.
*
*
* Copyright: Copyright (c) 2008
*
*
* Company: Clark & Parsia, LLC.
*
*
* @author Harris Lin
*/
public abstract class OWLDeepEntityVisitorAdapter extends OWLEntityCollector {
public void visit(OWLClass desc) {}
public void visit(OWLObjectProperty property) {}
public void visit(OWLDataProperty property) {}
public void visit(OWLIndividual individual) {}
public void visit(OWLDatatype datatype) {}
}