All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.semanticweb.owlapi.util.AlwaysOutputId Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
package org.semanticweb.owlapi.util;

import org.semanticweb.owlapi.model.OWLAnonymousIndividual;
import org.semanticweb.owlapi.model.OWLAxiom;

/**
 * Implementation of IndividualAppearance and AxiomAppearance that always
 * returns true - used to force output of ids in all cases.
 */
public class AlwaysOutputId implements IndividualAppearance, AxiomAppearance {

    @Override
    public boolean appearsMultipleTimes(OWLAnonymousIndividual i) {
        return true;
    }

    @Override
    public boolean appearsMultipleTimes(OWLAxiom ax) {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy