SimpleServlets v5.5.0

com.simpleservlets.htmlobjects
Class HTMLForm

java.lang.Object
  extended by com.simpleservlets.htmlobjects.GenericHTMLElement
      extended by com.simpleservlets.htmlobjects.HTMLForm
All Implemented Interfaces:
HTMLElement

public class HTMLForm
extends GenericHTMLElement
implements HTMLElement

Input form, <form> tag. No formatting is supported, check out HTMLSimpleForm for most cases.

Author:
Paul Hyde

Nested Class Summary
static class HTMLForm.Input
          Input for forms, <input> tag.
static class HTMLForm.Option
          Options for HTMLForm.Select, <option> tag.
static class HTMLForm.Select
          Input for forms (drop-down, scroll list), <select> tag.
 
Field Summary
 
Fields inherited from interface com.simpleservlets.htmlobjects.HTMLElement
ZERO_LEN_ARRAY
 
Constructor Summary
HTMLForm(String actionURL)
          Default is to use the "post" method.
 
Method Summary
 void setUseGetMethod(boolean useGet)
           
 
Methods inherited from class com.simpleservlets.htmlobjects.GenericHTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setSafeToWrapWithWhitespace, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.simpleservlets.htmlobjects.HTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setStyle
 

Constructor Detail

HTMLForm

public HTMLForm(String actionURL)
Default is to use the "post" method.

Method Detail

setUseGetMethod

public void setUseGetMethod(boolean useGet)

SimpleServlets v5.5.0

Copyright © 2001-2007 Programix Incorporated. All rights reserved. SimpleServlets is free and is OSI Certified Open Source Software under the BSD license.