001    /* This code was generated by nu.validator.tools.SaxCompiler. Please regenerate instead of editing. */
002    package nu.validator.servlet;
003    public final class Html5FormEmitter {
004    private Html5FormEmitter() {}
005    public static void emit(org.xml.sax.ContentHandler contentHandler, nu.validator.servlet.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    __attrs__.addAttribute("", "title", "title", "CDATA", "Display the markup source of the input document.");
036    contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
037    __attrs__.clear();
038    contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
039    contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
040    __attrs__.clear();
041    contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
042    __attrs__.clear();
043    __attrs__.addAttribute("", "for", "for", "CDATA", "showsource");
044    contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
045    t.emitShowSourceField(); 
046                                                    
047    contentHandler.characters(__chars__, 33, 12);
048    contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
049    contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
050    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
051    __attrs__.clear();
052    contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
053    __attrs__.clear();
054    contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
055    contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
056    __attrs__.clear();
057    contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
058    __attrs__.clear();
059    __attrs__.addAttribute("", "name", "name", "CDATA", "submit");
060    __attrs__.addAttribute("", "value", "value", "CDATA", "Check");
061    __attrs__.addAttribute("", "type", "type", "CDATA", "submit");
062    __attrs__.addAttribute("", "id", "id", "CDATA", "submit");
063    contentHandler.startElement("http://www.w3.org/1999/xhtml", "input", "input", __attrs__);
064    contentHandler.endElement("http://www.w3.org/1999/xhtml", "input", "input");
065    contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
066    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
067    contentHandler.endElement("http://www.w3.org/1999/xhtml", "tbody", "tbody");
068    contentHandler.endElement("http://www.w3.org/1999/xhtml", "table", "table");
069    contentHandler.endElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset");
070    contentHandler.endPrefixMapping("");
071    }
072    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', ' ', 'S', 'h', 'o', 'w', ' ', 'S', 'o', 'u', 'r', 'c', 'e' };
073    }