001 /* This code was generated by fi.iki.hsivonen.xml.SaxCompiler. Please regenerate instead of editing. */ 002 package fi.iki.hsivonen.verifierservlet; 003 public final class StatsEmitter { 004 private StatsEmitter() {} 005 public static void emit(org.xml.sax.ContentHandler contentHandler, fi.iki.hsivonen.verifierservlet.VerifierServletTransaction t) throws org.xml.sax.SAXException { 006 org.xml.sax.helpers.AttributesImpl __attrs__ = new org.xml.sax.helpers.AttributesImpl(); 007 contentHandler.startPrefixMapping("", "http://www.w3.org/1999/xhtml"); 008 __attrs__.clear(); 009 __attrs__.addAttribute("", "class", "class", "CDATA", "stats"); 010 contentHandler.startElement("http://www.w3.org/1999/xhtml", "p", "p", __attrs__); 011 contentHandler.characters(__chars__, 0, 21); 012 t.emitTotalDuration(); 013 contentHandler.characters(__chars__, 21, 14); 014 contentHandler.endElement("http://www.w3.org/1999/xhtml", "p", "p"); 015 contentHandler.endPrefixMapping(""); 016 } 017 private static final char[] __chars__ = { 'T', 'o', 't', 'a', 'l', ' ', 'e', 'x', 'e', 'c', 'u', 't', 'i', 'o', 'n', ' ', 't', 'i', 'm', 'e', ' ', ' ', 'm', 'i', 'l', 'l', 'i', 's', 'e', 'c', 'o', 'n', 'd', 's', '.' }; 018 }