if (name.equals("input")) {
String type = e.getAttribute("type");
if (type.equals("text") || type.equals("password")) {
control = new TextControl(form, e);
} else if (type.equals("hidden")) {
control = new HiddenControl(form, e);
} else if (type.equals("button") || type.equals("submit")
|| type.equals("reset")) {
control = new ButtonControl(form, e);
} else if (type.equals("checkbox") || type.equals("radio")) {
control = new CheckControl(form, e);