Package lupos.owl2rl.parser

Examples of lupos.owl2rl.parser.TemplatesRuleParser


  public  void init(String ontology, InputStream rules, String key){ 
    // Reuse old parsed rule set if exists...

    //...if not, create new parser and save results
    if(!this.parserResultsMap.containsKey(key)){
      TemplatesRuleParser parser= new TemplatesRuleParser();
      parser.start(rules);
      this.parserResultsMap.put(key, parser.getResults());
    }

    //Reuse old generator if exists...

    //..if not create new 
View Full Code Here


  public void initWithEvaluator(BasicIndexRuleEvaluator ruleEvaluator, String rules, String key) {
    // Reuse old parsed rule set if exists...

    //...if not, create new parser and save results
    if(!this.parserResultsMap.containsKey(key)){
      TemplatesRuleParser parser= new TemplatesRuleParser();
      parser.start(createInputStream(rules));
      this.parserResultsMap.put(key, parser.getResults());
    }

    //Reuse old generator if exists...

    //..if not create new 
View Full Code Here

TOP

Related Classes of lupos.owl2rl.parser.TemplatesRuleParser

Copyright © 2018 www.massapicom. 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.