Examples of openTag()


Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

                    keys[j+1= hld;
                }
            }
        }
       
        xout.opentag("tables");
        for(Object key : keys){
            Stats stats = tables.get(key);
            int total_columns = 0;
            int columns_covered = 0;
            if(stats.table.getHasNullColumn()){
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

        
            double fpercent = ((double) columns_covered / total_columns)*100.0;
            int    percent  = (int) fpercent;
            int    fraction = (int) ((fpercent - percent)*100);
           
            xout.opentag("table","name",key,"count_of_calls",stats.calledCount, "percent_covered",percent+"."+fraction);
           
            if(stats.table.getHasNullColumn()){
                xout.printdata("column","n","none","hits",stats.noColumns,null);
            }
           
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

          t.runTests();
      }
     
      public void printReport(int runNumber, IRSession session, PrintStream _out) throws RulesException {
          XMLPrinter xout = new XMLPrinter(_out);
          xout.opentag("results","runNumber",runNumber);
          RArray results = session.getState().find("job.results").rArrayValue();
          for(IRObject r :results){
              IREntity result = r.rEntityValue();

              xout.opentag("Client","id",result.get("client_id").stringValue());
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

          xout.opentag("results","runNumber",runNumber);
          RArray results = session.getState().find("job.results").rArrayValue();
          for(IRObject r :results){
              IREntity result = r.rEntityValue();

              xout.opentag("Client","id",result.get("client_id").stringValue());
              prt(xout,result,"totalGroupIncome");
              prt(xout,result,"client_fpl");
              if(result.get("eligible").booleanValue()){
                  xout.opentag("Approved");
                    prt(xout,result,"program");
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

              xout.opentag("Client","id",result.get("client_id").stringValue());
              prt(xout,result,"totalGroupIncome");
              prt(xout,result,"client_fpl");
              if(result.get("eligible").booleanValue()){
                  xout.opentag("Approved");
                    prt(xout,result,"program");
                    prt(xout,result,"programLevel");
                    RArray notes = result.get("notes").rArrayValue();
                    xout.opentag("Notes");
                        for(IRObject n : notes){
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

              if(result.get("eligible").booleanValue()){
                  xout.opentag("Approved");
                    prt(xout,result,"program");
                    prt(xout,result,"programLevel");
                    RArray notes = result.get("notes").rArrayValue();
                    xout.opentag("Notes");
                        for(IRObject n : notes){
                           xout.printdata("note",n.stringValue());
                        }
                      xout.closetag();
                  xout.closetag();
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

                           xout.printdata("note",n.stringValue());
                        }
                      xout.closetag();
                  xout.closetag();
              }else{
                  xout.opentag("NotApproved");
                      prt(xout,result,"program");
                      RArray notes = result.get("notes").rArrayValue();
                      xout.opentag("Notes");
                          for(IRObject n : notes){
                             xout.printdata("note",n.stringValue());
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

                  xout.closetag();
              }else{
                  xout.opentag("NotApproved");
                      prt(xout,result,"program");
                      RArray notes = result.get("notes").rArrayValue();
                      xout.opentag("Notes");
                          for(IRObject n : notes){
                             xout.printdata("note",n.stringValue());
                          }
                      xout.closetag();
                  xout.closetag();
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

                             
        for(IRObject r :results){          // For each result entity
            IREntity result = r.rEntityValue();    //   (which we will alias to an IREntity
                                //    pointer to cut down on type casting).

            xout.opentag("Client","id",result.get("client_id").stringValue()); // Output the
                                // client tag and the client ID
              prt(xout,result,"totalGroupIncome");// Print the totalGroupIncome
              prt(xout,result,"client_fpl");    // Print the fpl percentage
             
              if(result.get("eligible").booleanValue()){  // Test their eligiblity result
View Full Code Here

Examples of com.dtrules.xmlparser.XMLPrinter.opentag()

              }else{
                xout.printdata("eligibility", "Not Approved"); // If not approved, print the
                  prt(xout,result,"program");    //   details of their rejection.       
              }
              RArray notes = result.get("notes").rArrayValue();
              xout.opentag("Notes");        // Print out any notes attached to the result.
                  for(IRObject n : notes){
                     xout.printdata("note",n.stringValue());
                  }
              xout.closetag();          // Close tags
            xout.closetag();
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.