Modifier and Type | Field and Description |
---|---|
static String |
encodingMultipartForm |
static String |
encodingWWWURL |
Constructor and Description |
---|
Form()
Constructor.
|
Form(String submitURL)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Form |
action(String submitURL)
Constructor.
|
Form |
encoding(String encoding)
Set the form encoding type.
|
Form |
method(String m)
Set the form method.
|
Form |
target(String t)
Set the form target.
|
void |
write(Writer out)
Write the composite.
|
add, contents, nest, replace, reset, setNest, size, unnest
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
public static final String encodingWWWURL
public static final String encodingMultipartForm
public Form()
public Form(String submitURL)
submitURL
- The URL to submit the form topublic Form action(String submitURL)
submitURL
- The URL to submit the form topublic void write(Writer out) throws IOException
Composite
write
in class Block
out
- Writer to write the element to.IOException
Copyright © 2016. All Rights Reserved.