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

edu.stanford.protege.webprotege.mansyntax.render.NullHttpLinkRenderer Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.mansyntax.render;

import org.semanticweb.owlapi.model.OWLLiteral;

import javax.inject.Inject;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 27/01/15
 */
public class NullHttpLinkRenderer implements HttpLinkRenderer {

    @Inject
    public NullHttpLinkRenderer() {
    }

    @Override
    public boolean isLink(OWLLiteral literal) {
        return false;
    }

    @Override
    public void renderLink(String link, StringBuilder builder) {
        builder.append(link);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy