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

nu.validator.servlet.FormEmitter 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 FormEmitter {
private FormEmitter() {}
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, 13);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "legend", "legend");
__attrs__.clear();
__attrs__.addAttribute("", "class", "class", "CDATA", "checkboxes");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "p", "p", __attrs__);
contentHandler.characters(__chars__, 13, 5);
__attrs__.clear();
__attrs__.addAttribute("", "class", "class", "CDATA", "showwhat");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "span", "span", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "Display the markup source of the input document.");
__attrs__.addAttribute("", "for", "for", "CDATA", "showsource");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
t.emitShowSourceField();
			
contentHandler.characters(__chars__, 18, 6);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "Display an outline of the input document.");
__attrs__.addAttribute("", "for", "for", "CDATA", "showoutline");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
t.emitShowOutlineField();
			
contentHandler.characters(__chars__, 24, 7);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
__attrs__.clear();
__attrs__.addAttribute("", "title", "title", "CDATA", "Display a report about the textual alternatives for images.");
__attrs__.addAttribute("", "for", "for", "CDATA", "showimagereport");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
t.emitShowImageReportField();
			
contentHandler.characters(__chars__, 31, 12);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "span", "span");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "p", "p");
__attrs__.clear();
__attrs__.addAttribute("", "id", "id", "CDATA", "inputregion");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "div", "div", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "id", "id", "CDATA", "inputlabel");
__attrs__.addAttribute("", "for", "for", "CDATA", "doc");
contentHandler.startElement("http://www.w3.org/1999/xhtml", "label", "label", __attrs__);
contentHandler.characters(__chars__, 43, 13);
contentHandler.endElement("http://www.w3.org/1999/xhtml", "label", "label");
t.emitDocField();
		
contentHandler.endElement("http://www.w3.org/1999/xhtml", "div", "div");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml", "p", "p", __attrs__);
__attrs__.clear();
__attrs__.addAttribute("", "value", "value", "CDATA", "Check");
__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", "p", "p");
contentHandler.endElement("http://www.w3.org/1999/xhtml", "fieldset", "fieldset");
contentHandler.endPrefixMapping("");
}
private static final char[] __chars__ = { 'C', 'h', 'e', 'c', 'k', 'e', 'r', ' ', 'I', 'n', 'p', 'u', 't', 'S', 'h', 'o', 'w', ' ', 's', 'o', 'u', 'r', 'c', 'e', 'o', 'u', 't', 'l', 'i', 'n', 'e', 'i', 'm', 'a', 'g', 'e', ' ', 'r', 'e', 'p', 'o', 'r', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', ' ', 'U', 'R', 'L', ':' };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy