Package com.raj.htmlForms

This package generates HTML <form> elements in Java and writes them to any given Writer Each logical element will be represented by its own class.

See:
          Description

Class Summary
HtmlButton This class represents the <input type="button"> HTML button.
HtmlButtons This abstract class forms the superclass of all HTML buttons (submit buttons, images, reset buttons and normal buttons) This class (HtmlButtons.java) is part of the com.raj.htmlForms package that automatically generates HTML forms programmatically.
HtmlCheckBoxGroup This class generates a group of HTML checkboxes.
HtmlFile This class will generate an HTML text box, writing out something like: <input type=\"text\" name=\"somename\" value=\"somevalue\"> depending on the attributes set in this class.
HtmlFormElement This class will be the superclass of other form elements.
HtmlGroups This abstract class forms the superclass of all the HTML grouping facilities.
HtmlHidden This class represents the <input type="hidden"> field This class (HtmlHidden.java) is part of the com.raj.htmlForms package that automatically generates HTML forms programmatically.
HtmlImageButton This class represents the <input type="image"> HTML button.
HtmlInput This abstract class forms the superclass of all HTML Input types (eg text, radio, checkbox etc) This class (HtmlInput.java) is part of the com.raj.htmlForms package that automatically generates HTML forms programmatically.
HtmlPassword This class will generate an HTML password box.
HtmlRadioGroup This class generates a group of HTML radio buttons.
HtmlResetButton This class represents the <input type="reset"> HTML button.
HtmlSelect This class represents the <select> tag of a form.
HtmlSubmitButton This class represents the <input type="submit"> HTML button.
HtmlText This class will generate an HTML text box.
HtmlTextArea This class represents the <textarea> tag of a form.
HtmlTextBoxes This abstract class forms the superclass of all the single line text boxes (currently there are only two of these in HTML, both generated by the <input> tag).
 

Package com.raj.htmlForms Description

This package generates HTML <form> elements in Java and writes them to any given Writer

Each logical element will be represented by its own class. Currently, only a subset of the <form> is supported, as noted below. Other elements may be added in future.

The following <form> elements are supported, along with the name of the HtmlForm class that represents it.

Major ommissions from this package currently include the <button> element and the <optgroup> element.

This package can write both HTML 4 and XHTML 1. By default, only HTML is written, but there are methods in all classes for changing this to write XHTML.

Author:
Rajnish Bhaskar
See Also:
W3C reference for forms