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

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

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

import org.semanticweb.owlapi.manchestersyntax.parser.ManchesterOWLSyntax;
import org.semanticweb.owlapi.model.OWLAnnotation;
import org.semanticweb.owlapi.model.OWLObject;
import org.semanticweb.owlapi.model.OWLOntologyID;
import org.semanticweb.owlapi.util.ShortFormProvider;

import java.util.Comparator;
import java.util.List;

/**
 * @author Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group, Date: 24/02/2014
 */
public interface FrameSectionRenderer {


    enum Formatting {
        LINE_PER_ITEM,
        ALL_ONE_ONE_LINE
    }

    ManchesterOWLSyntax getSection();

    Formatting getSectionFormatting();

    List getItemsInOntology(E subject, OWLOntologyID ontologyId, ShortFormProvider shortFormProvider, Comparator objectComparator);

    List getRenderablesForItem(E subject, I item, OWLOntologyID ontologyId);

    String getSeparatorAfter(int renderableIndex, List renderables);

    List getAnnotations(I item);


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy