Examples of endRendering()


Examples of com.clarkparsia.explanation.io.ConciseExplanationRenderer.endRendering()

      }
      if( !unexpectedExplanations.isEmpty() ) {
        sw.getBuffer().append( "Unexpected:\n" );
        renderer.render( axiom, unexpectedExplanations );
      }
      renderer.endRendering();
     
      log.severe( "Error in explanation: " + sw );
     
      org.junit.Assert.fail( "Error in explanation, see the log file for details" );
    }
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.io.ConciseExplanationRenderer.endRendering()

      }
      if( !unexpectedExplanations.isEmpty() ) {
        sw.getBuffer().append( "Unexpected:\n" );
        renderer.render( axiom, unexpectedExplanations );
      }
      renderer.endRendering();
     
      log.severe( "Error in explanation: " + sw );
     
      org.junit.Assert.fail( "Error in explanation, see the log file for details" );
    }
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.io.ConciseExplanationRenderer.endRendering()

      }
      if( !unexpectedExplanations.isEmpty() ) {
        sw.getBuffer().append( "Unexpected:\n" );
        renderer.render( axiom, unexpectedExplanations );
      }
      renderer.endRendering();
     
      log.severe( "Error in explanation: " + sw );
     
      org.junit.Assert.fail( "Error in explanation, see the log file for details" );
    }
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.io.ConciseExplanationRenderer.endRendering()

      }
      if( !unexpectedExplanations.isEmpty() ) {
        sw.getBuffer().append( "Unexpected:\n" );
        renderer.render( axiom, unexpectedExplanations );
      }
      renderer.endRendering();
     
      System.out.println( "Error in explanation: " + sw );
     
      org.junit.Assert.fail( "Error in explanation, see the log file for details" );
    }
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.io.manchester.ManchesterSyntaxExplanationRenderer.endRendering()

    // Now explain why animal lover is a sub class of pet owner
    exp = expGen.getSubClassExplanations( animalLover, petOwner );
    out.println( "Why is " + animalLover + " subclass of " + petOwner + "?" );
    renderer.render( exp );
   
    renderer.endRendering();
  }

  public static void main(String[] args) throws OWLOntologyCreationException, OWLException,
      IOException {
    ExplanationExample app = new ExplanationExample();
View Full Code Here

Examples of com.clarkparsia.owlapi.explanation.io.manchester.ManchesterSyntaxExplanationRenderer.endRendering()

    // Now explain why animal lover is a sub class of pet owner
    exp = expGen.getSubClassExplanations( animalLover, petOwner );
    out.println( "Why is " + animalLover + " subclass of " + petOwner + "?" );
    renderer.render( exp );
   
    renderer.endRendering();
  }

  public static void main(String[] args) throws OWLOntologyCreationException, OWLException,
      IOException {
    ExplanationExample app = new ExplanationExample();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.