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 Html5FormEmitter {
004    private Html5FormEmitter() {}
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    contentHandler.startElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset", __attrs__);
010    __attrs__.clear();
011    contentHandler.startElement("http://www.w3.org/1999/xhtml", "legend", "legend", __attrs__);
012    contentHandler.characters(__chars__, 0, 25);
013    contentHandler.endElement("http://www.w3.org/1999/xhtml", "legend", "legend");
014    __attrs__.clear();
015    contentHandler.startElement("http://www.w3.org/1999/xhtml", "table", "table", __attrs__);
016    __attrs__.clear();
017    contentHandler.startElement("http://www.w3.org/1999/xhtml", "tbody", "tbody", __attrs__);
018    __attrs__.clear();
019    __attrs__.addAttribute("", "title", "title", "CDATA", "IRI (http or https) of the document to be checked");
020    contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
021    __attrs__.clear();
022    contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
023    __attrs__.clear();
024    __attrs__.addAttribute("", "for", "for", "CDATA", "doc");
025    contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
026    contentHandler.characters(__chars__, 25, 8);
027    contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
028    contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
029    __attrs__.clear();
030    contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
031    t.emitDocField(); 
032    contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
033    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
034    __attrs__.clear();
035    contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
036    __attrs__.clear();
037    contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
038    contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
039    __attrs__.clear();
040    contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
041    __attrs__.clear();
042    __attrs__.addAttribute("", "name", "name", "CDATA", "submit");
043    __attrs__.addAttribute("", "value", "value", "CDATA", "Check");
044    __attrs__.addAttribute("", "type", "type", "CDATA", "submit");
045    __attrs__.addAttribute("", "id", "id", "CDATA", "submit");
046    contentHandler.startElement("http://www.w3.org/1999/xhtml", "input", "input", __attrs__);
047    contentHandler.endElement("http://www.w3.org/1999/xhtml", "input", "input");
048    contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
049    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
050    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tbody", "tbody");
051    contentHandler.endElement("http://www.w3.org/1999/xhtml", "table", "table");
052    contentHandler.endElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset");
053    contentHandler.endPrefixMapping("");
054    }
055    private static final char[] __chars__ = { 'C', 'o', 'n', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', ' ', 'C', 'h', 'e', 'c', 'k', 'e', 'r', ' ', 'I', 'n', 'p', 'u', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't' };
056    }