private Cls readClass ( String name , String superClass ) throws KnowledgeSourceReadException { Cls cls = this . cm . getCls ( name ) ; Cls superCls = this . cm . getCls ( superClass ) ; if ( cls != null && cls . hasSuperclass ( superCls ) ) { return cls ; } else { return null ; } }
Returns the Cls from Protege if a matching Cls is found with the given ancestor