All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nu.validator.servlet.Html5FormEmitter Maven / Gradle / Ivy

Go to download

An HTML-checking library (used by https://html5.validator.nu and the HTML5 facet of the W3C Validator)

There is a newer version: 20.7.2
Show newest version
/* This code was generated by nu.validator.tools.SaxCompiler. Please regenerate instead of editing. */
package nu.validator.servlet;
public final class Html5FormEmitter {
private Html5FormEmitter() {}
public static void emit(org.xml.sax.ContentHandler contentHandler, nu.validator.servlet.VerifierServletTransaction t) throws org.xml.sax.SAXException {
org.xml.sax.helpers.AttributesImpl __attrs__ = new org.xml.sax.helpers.AttributesImpl();
contentHandler.startPrefixMapping("", "http://www.w3.org/1999/xhtml");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "legend", "legend", __attrs__);
contentHandler.characters(__chars__, 0, 15);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "legend", "legend");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "table", "table", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "tbody", "tbody", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "The document to validate.");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "for", "for", "CDATA", "doc");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
contentHandler.characters(__chars__, 15, 8);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
t.emitDocField(); 
contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
t.maybeEmitCharsetField(); t.maybeEmitNsfilterField(); 
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "Display a report about the textual alternatives for images.");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "for", "for", "CDATA", "showimagereport");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
t.emitShowImageReportField(); 
						
contentHandler.characters(__chars__, 23, 18);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "Display the markup source of the input document.");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "for", "for", "CDATA", "showsource");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
t.emitShowSourceField(); 
						
contentHandler.characters(__chars__, 41, 12);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "tr", "tr", __attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "th", "th", __attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "th", "th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "td", "td", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "value", "value", "CDATA", "Validate");
__attrs__.addAttribute("", "type", "type", "CDATA", "submit");
__attrs__.addAttribute("", "id", "id", "CDATA", "submit");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "input", "input", __attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "input", "input");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "td", "td");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "tr", "tr");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "tbody", "tbody");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "table", "table");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset");
contentHandler.endPrefixMapping("");
}
private static final char[] __chars__ = { 'V', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', ' ', 'I', 'n', 'p', 'u', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', ' ', 'S', 'h', 'o', 'w', ' ', 'I', 'm', 'a', 'g', 'e', ' ', 'R', 'e', 'p', 'o', 'r', 't', ' ', 'S', 'h', 'o', 'w', ' ', 'S', 'o', 'u', 'r', 'c', 'e' };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy