Here you can find the source of processCheck(Element ele, Element parent, String dict)
private static String processCheck(Element ele, Element parent, String dict)
//package com.java2s; //License from project: Apache License import org.jsoup.nodes.Element; public class Main { private static String processCheck(Element ele, Element parent, String dict) { StringBuilder builder = new StringBuilder(); builder.append("<input name=\"").append(ele.attr("name")); builder.append("\" id=\"").append(ele.attr("id")); builder.append("\" style=\"").append(ele.attr("style")); builder.append("\" value=\""); builder.append("\" type=\"check\"/>"); builder.append(""); return builder.toString(); }/*from w w w . j a v a 2 s . c o m*/ }