|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.html.Element | +--org.mortbay.html.Composite | +--org.mortbay.html.Block | +--org.mortbay.html.Form
HTML Form. The specialized Block can contain HTML Form elements as well as any other HTML elements
Field Summary | |
static java.lang.String |
encodingMultipartForm
|
static java.lang.String |
encodingWWWURL
|
Fields inherited from class org.mortbay.html.Block |
Bold, Center, Div, Italic, Left, Listing, Plain, Pre, Quote, Right, Span, Xmp |
Fields inherited from class org.mortbay.html.Element |
ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH |
Constructor Summary | |
Form()
Constructor. |
|
Form(java.lang.String submitURL)
Constructor. |
Method Summary | |
Form |
action(java.lang.String submitURL)
Constructor. |
Form |
encoding(java.lang.String encoding)
Set the form encoding type. |
Form |
method(java.lang.String m)
Set the form method. |
Form |
target(java.lang.String t)
Set the form target. |
void |
write(java.io.Writer out)
Write the composite. |
Methods inherited from class org.mortbay.html.Composite |
add, contents, nest, replace, reset, setNest, size, unnest |
Methods inherited from class org.mortbay.html.Element |
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, style, top, toString, width, width, width, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String encodingWWWURL
public static final java.lang.String encodingMultipartForm
Constructor Detail |
public Form()
public Form(java.lang.String submitURL)
submitURL
- The URL to submit the form toMethod Detail |
public Form action(java.lang.String submitURL)
submitURL
- The URL to submit the form topublic Form target(java.lang.String t)
public Form method(java.lang.String m)
public Form encoding(java.lang.String encoding)
public void write(java.io.Writer out) throws java.io.IOException
Composite
write
in class Block
out
- Writer to write the element to.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |