Java 类org.semanticweb.owlapi.model.OWLPropertyRange 实例源码

项目:owl2diagram    文件:ObjectPropertyRestriction.java   
private static <F extends OWLPropertyRange> OWLClass getTarget(OWLQuantifiedRestriction<?,?,F> ex) throws RendererException {
    if(ex.getFiller() instanceof OWLClass) {
        return (OWLClass)ex.getFiller();
    }
    else {
        throw new RendererException("Filler of class expression not a simple unary OWL class: " + ex);
    }
}