|
@@ -1251,7 +1251,7 @@ public class HamletSpec {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Add a TEXTAREA element.
|
|
* Add a TEXTAREA element.
|
|
- * @param selector
|
|
|
|
|
|
+ * @param selector the css selector in the form of (#id)*(.class)*
|
|
* @return a new TEXTAREA element builder
|
|
* @return a new TEXTAREA element builder
|
|
*/
|
|
*/
|
|
TEXTAREA textarea(String selector);
|
|
TEXTAREA textarea(String selector);
|
|
@@ -2080,13 +2080,13 @@ public class HamletSpec {
|
|
*/
|
|
*/
|
|
public interface INS extends Attrs, Flow, _Child {
|
|
public interface INS extends Attrs, Flow, _Child {
|
|
/** info on reason for change
|
|
/** info on reason for change
|
|
- * @param uri
|
|
|
|
|
|
+ * @param uri the URI.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INS $cite(String uri);
|
|
INS $cite(String uri);
|
|
|
|
|
|
/** date and time of change
|
|
/** date and time of change
|
|
- * @param datetime
|
|
|
|
|
|
+ * @param datetime the time.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INS $datetime(String datetime);
|
|
INS $datetime(String datetime);
|
|
@@ -2103,7 +2103,7 @@ public class HamletSpec {
|
|
DEL $cite(String uri);
|
|
DEL $cite(String uri);
|
|
|
|
|
|
/** date and time of change
|
|
/** date and time of change
|
|
- * @param datetime the time
|
|
|
|
|
|
+ * @param datetime the time.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
DEL $datetime(String datetime);
|
|
DEL $datetime(String datetime);
|
|
@@ -2205,13 +2205,13 @@ public class HamletSpec {
|
|
public interface FORM extends Attrs, _Child, /* (%block;|SCRIPT)+ -(FORM) */
|
|
public interface FORM extends Attrs, _Child, /* (%block;|SCRIPT)+ -(FORM) */
|
|
_Script, _Block, _FieldSet {
|
|
_Script, _Block, _FieldSet {
|
|
/** server-side form handler
|
|
/** server-side form handler
|
|
- * @param uri
|
|
|
|
|
|
+ * @param uri the URI.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $action(String uri);
|
|
FORM $action(String uri);
|
|
|
|
|
|
/** HTTP method used to submit the form
|
|
/** HTTP method used to submit the form
|
|
- * @param method
|
|
|
|
|
|
+ * @param method method.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $method(Method method);
|
|
FORM $method(Method method);
|
|
@@ -2220,37 +2220,37 @@ public class HamletSpec {
|
|
* contentype for "POST" method.
|
|
* contentype for "POST" method.
|
|
* The default is "application/x-www-form-urlencoded".
|
|
* The default is "application/x-www-form-urlencoded".
|
|
* Use "multipart/form-data" for input type=file
|
|
* Use "multipart/form-data" for input type=file
|
|
- * @param enctype
|
|
|
|
|
|
+ * @param enctype enctype.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $enctype(String enctype);
|
|
FORM $enctype(String enctype);
|
|
|
|
|
|
/** list of MIME types for file upload
|
|
/** list of MIME types for file upload
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $accept(String cdata);
|
|
FORM $accept(String cdata);
|
|
|
|
|
|
/** name of form for scripting
|
|
/** name of form for scripting
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $name(String cdata);
|
|
FORM $name(String cdata);
|
|
|
|
|
|
/** the form was submitted
|
|
/** the form was submitted
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $onsubmit(String script);
|
|
FORM $onsubmit(String script);
|
|
|
|
|
|
/** the form was reset
|
|
/** the form was reset
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $onreset(String script);
|
|
FORM $onreset(String script);
|
|
|
|
|
|
/** (space and/or comma separated) list of supported charsets
|
|
/** (space and/or comma separated) list of supported charsets
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
FORM $accept_charset(String cdata);
|
|
FORM $accept_charset(String cdata);
|
|
@@ -2262,25 +2262,25 @@ public class HamletSpec {
|
|
public interface LABEL extends Attrs, _Child, /* (%inline;)* -(LABEL) */
|
|
public interface LABEL extends Attrs, _Child, /* (%inline;)* -(LABEL) */
|
|
PCData, FontStyle, Phrase, Special, _FormCtrl {
|
|
PCData, FontStyle, Phrase, Special, _FormCtrl {
|
|
/** matches field ID value
|
|
/** matches field ID value
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
LABEL $for(String cdata);
|
|
LABEL $for(String cdata);
|
|
|
|
|
|
/** accessibility key character
|
|
/** accessibility key character
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
LABEL $accesskey(String cdata);
|
|
LABEL $accesskey(String cdata);
|
|
|
|
|
|
/** the element got the focus
|
|
/** the element got the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
LABEL $onfocus(String script);
|
|
LABEL $onfocus(String script);
|
|
|
|
|
|
/** the element lost the focus
|
|
/** the element lost the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
LABEL $onblur(String script);
|
|
LABEL $onblur(String script);
|
|
@@ -2292,19 +2292,19 @@ public class HamletSpec {
|
|
@Element(endTag=false)
|
|
@Element(endTag=false)
|
|
public interface INPUT extends Attrs, _Child {
|
|
public interface INPUT extends Attrs, _Child {
|
|
/** what kind of widget is needed. default is "text".
|
|
/** what kind of widget is needed. default is "text".
|
|
- * @param inputType
|
|
|
|
|
|
+ * @param inputType input value.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $type(InputType inputType);
|
|
INPUT $type(InputType inputType);
|
|
|
|
|
|
/** submit as part of form
|
|
/** submit as part of form
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $name(String cdata);
|
|
INPUT $name(String cdata);
|
|
|
|
|
|
/** Specify for radio buttons and checkboxes
|
|
/** Specify for radio buttons and checkboxes
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $value(String cdata);
|
|
INPUT $value(String cdata);
|
|
@@ -2325,25 +2325,25 @@ public class HamletSpec {
|
|
INPUT $readonly();
|
|
INPUT $readonly();
|
|
|
|
|
|
/** specific to each type of field
|
|
/** specific to each type of field
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $size(String cdata);
|
|
INPUT $size(String cdata);
|
|
|
|
|
|
/** max chars for text fields
|
|
/** max chars for text fields
|
|
- * @param length
|
|
|
|
|
|
+ * @param length max chars length.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $maxlength(int length);
|
|
INPUT $maxlength(int length);
|
|
|
|
|
|
/** for fields with images
|
|
/** for fields with images
|
|
- * @param uri
|
|
|
|
|
|
+ * @param uri the URI.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $src(String uri);
|
|
INPUT $src(String uri);
|
|
|
|
|
|
/** short description
|
|
/** short description
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $alt(String cdata);
|
|
INPUT $alt(String cdata);
|
|
@@ -2355,43 +2355,43 @@ public class HamletSpec {
|
|
INPUT $ismap();
|
|
INPUT $ismap();
|
|
|
|
|
|
/** position in tabbing order
|
|
/** position in tabbing order
|
|
- * @param index
|
|
|
|
|
|
+ * @param index the index
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $tabindex(int index);
|
|
INPUT $tabindex(int index);
|
|
|
|
|
|
/** accessibility key character
|
|
/** accessibility key character
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $accesskey(String cdata);
|
|
INPUT $accesskey(String cdata);
|
|
|
|
|
|
/** the element got the focus
|
|
/** the element got the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $onfocus(String script);
|
|
INPUT $onfocus(String script);
|
|
|
|
|
|
/** the element lost the focus
|
|
/** the element lost the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $onblur(String script);
|
|
INPUT $onblur(String script);
|
|
|
|
|
|
/** some text was selected
|
|
/** some text was selected
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $onselect(String script);
|
|
INPUT $onselect(String script);
|
|
|
|
|
|
/** the element value was changed
|
|
/** the element value was changed
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $onchange(String script);
|
|
INPUT $onchange(String script);
|
|
|
|
|
|
/** list of MIME types for file upload (csv)
|
|
/** list of MIME types for file upload (csv)
|
|
- * @param contentTypes
|
|
|
|
|
|
+ * @param contentTypes content types.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
INPUT $accept(String contentTypes);
|
|
INPUT $accept(String contentTypes);
|
|
@@ -2426,13 +2426,13 @@ public class HamletSpec {
|
|
OPTGROUP optgroup();
|
|
OPTGROUP optgroup();
|
|
|
|
|
|
/** field name
|
|
/** field name
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $name(String cdata);
|
|
SELECT $name(String cdata);
|
|
|
|
|
|
/** rows visible
|
|
/** rows visible
|
|
- * @param rows
|
|
|
|
|
|
+ * @param rows number of rows.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $size(int rows);
|
|
SELECT $size(int rows);
|
|
@@ -2448,25 +2448,25 @@ public class HamletSpec {
|
|
SELECT $disabled();
|
|
SELECT $disabled();
|
|
|
|
|
|
/** position in tabbing order
|
|
/** position in tabbing order
|
|
- * @param index
|
|
|
|
|
|
+ * @param index the index
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $tabindex(int index);
|
|
SELECT $tabindex(int index);
|
|
|
|
|
|
/** the element got the focus
|
|
/** the element got the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $onfocus(String script);
|
|
SELECT $onfocus(String script);
|
|
|
|
|
|
/** the element lost the focus
|
|
/** the element lost the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $onblur(String script);
|
|
SELECT $onblur(String script);
|
|
|
|
|
|
/** the element value was changed
|
|
/** the element value was changed
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SELECT $onchange(String script);
|
|
SELECT $onchange(String script);
|
|
@@ -2482,7 +2482,7 @@ public class HamletSpec {
|
|
OPTGROUP $disabled();
|
|
OPTGROUP $disabled();
|
|
|
|
|
|
/** for use in hierarchical menus
|
|
/** for use in hierarchical menus
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
OPTGROUP $label(String cdata);
|
|
OPTGROUP $label(String cdata);
|
|
@@ -2504,13 +2504,13 @@ public class HamletSpec {
|
|
OPTION $disabled();
|
|
OPTION $disabled();
|
|
|
|
|
|
/** for use in hierarchical menus
|
|
/** for use in hierarchical menus
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
OPTION $label(String cdata);
|
|
OPTION $label(String cdata);
|
|
|
|
|
|
/** defaults to element content
|
|
/** defaults to element content
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
OPTION $value(String cdata);
|
|
OPTION $value(String cdata);
|
|
@@ -2521,19 +2521,19 @@ public class HamletSpec {
|
|
*/
|
|
*/
|
|
public interface TEXTAREA extends Attrs, PCData, _Child {
|
|
public interface TEXTAREA extends Attrs, PCData, _Child {
|
|
/** variable name for the text
|
|
/** variable name for the text
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $name(String cdata);
|
|
TEXTAREA $name(String cdata);
|
|
|
|
|
|
/** visible rows
|
|
/** visible rows
|
|
- * @param rows
|
|
|
|
|
|
+ * @param rows number of rows.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $rows(int rows);
|
|
TEXTAREA $rows(int rows);
|
|
|
|
|
|
/** visible columns
|
|
/** visible columns
|
|
- * @param cols
|
|
|
|
|
|
+ * @param cols number of cols.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $cols(int cols);
|
|
TEXTAREA $cols(int cols);
|
|
@@ -2549,37 +2549,37 @@ public class HamletSpec {
|
|
TEXTAREA $readonly();
|
|
TEXTAREA $readonly();
|
|
|
|
|
|
/** position in tabbing order
|
|
/** position in tabbing order
|
|
- * @param index
|
|
|
|
|
|
+ * @param index the index
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $tabindex(int index);
|
|
TEXTAREA $tabindex(int index);
|
|
|
|
|
|
/** accessibility key character
|
|
/** accessibility key character
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $accesskey(String cdata);
|
|
TEXTAREA $accesskey(String cdata);
|
|
|
|
|
|
/** the element got the focus
|
|
/** the element got the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $onfocus(String script);
|
|
TEXTAREA $onfocus(String script);
|
|
|
|
|
|
/** the element lost the focus
|
|
/** the element lost the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $onblur(String script);
|
|
TEXTAREA $onblur(String script);
|
|
|
|
|
|
/** some text was selected
|
|
/** some text was selected
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $onselect(String script);
|
|
TEXTAREA $onselect(String script);
|
|
|
|
|
|
/** the element value was changed
|
|
/** the element value was changed
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
TEXTAREA $onchange(String script);
|
|
TEXTAREA $onchange(String script);
|
|
@@ -2597,7 +2597,7 @@ public class HamletSpec {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Add a LEGEND element.
|
|
* Add a LEGEND element.
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Legend legend(String cdata);
|
|
_Legend legend(String cdata);
|
|
@@ -2614,7 +2614,7 @@ public class HamletSpec {
|
|
*/
|
|
*/
|
|
public interface LEGEND extends Attrs, Inline, _Child {
|
|
public interface LEGEND extends Attrs, Inline, _Child {
|
|
/** accessibility key character
|
|
/** accessibility key character
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
LEGEND $accesskey(String cdata);
|
|
LEGEND $accesskey(String cdata);
|
|
@@ -2626,19 +2626,19 @@ public class HamletSpec {
|
|
public interface BUTTON extends /* (%flow;)* -(A|%formctrl|FORM|FIELDSET) */
|
|
public interface BUTTON extends /* (%flow;)* -(A|%formctrl|FORM|FIELDSET) */
|
|
_Block, PCData, FontStyle, Phrase, _Special, _ImgObject, _SubSup, Attrs {
|
|
_Block, PCData, FontStyle, Phrase, _Special, _ImgObject, _SubSup, Attrs {
|
|
/** name of the value
|
|
/** name of the value
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $name(String cdata);
|
|
BUTTON $name(String cdata);
|
|
|
|
|
|
/** sent to server when submitted
|
|
/** sent to server when submitted
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $value(String cdata);
|
|
BUTTON $value(String cdata);
|
|
|
|
|
|
/** for use as form button
|
|
/** for use as form button
|
|
- * @param type
|
|
|
|
|
|
+ * @param type button type.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $type(ButtonType type);
|
|
BUTTON $type(ButtonType type);
|
|
@@ -2649,25 +2649,25 @@ public class HamletSpec {
|
|
BUTTON $disabled();
|
|
BUTTON $disabled();
|
|
|
|
|
|
/** position in tabbing order
|
|
/** position in tabbing order
|
|
- * @param index
|
|
|
|
|
|
+ * @param index the index
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $tabindex(int index);
|
|
BUTTON $tabindex(int index);
|
|
|
|
|
|
/** accessibility key character
|
|
/** accessibility key character
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $accesskey(String cdata);
|
|
BUTTON $accesskey(String cdata);
|
|
|
|
|
|
/** the element got the focus
|
|
/** the element got the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $onfocus(String script);
|
|
BUTTON $onfocus(String script);
|
|
|
|
|
|
/** the element lost the focus
|
|
/** the element lost the focus
|
|
- * @param script
|
|
|
|
|
|
+ * @param script to invoke.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BUTTON $onblur(String script);
|
|
BUTTON $onblur(String script);
|
|
@@ -2721,7 +2721,7 @@ public class HamletSpec {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Add a CAPTION element.
|
|
* Add a CAPTION element.
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Table caption(String cdata);
|
|
_Table caption(String cdata);
|
|
@@ -2813,7 +2813,7 @@ public class HamletSpec {
|
|
@Element(endTag=false)
|
|
@Element(endTag=false)
|
|
public interface COLGROUP extends Attrs, _TableCol, _Child {
|
|
public interface COLGROUP extends Attrs, _TableCol, _Child {
|
|
/** default number of columns in group. default: 1
|
|
/** default number of columns in group. default: 1
|
|
- * @param cols
|
|
|
|
|
|
+ * @param cols number of cols.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
COLGROUP $span(int cols);
|
|
COLGROUP $span(int cols);
|
|
@@ -2827,7 +2827,7 @@ public class HamletSpec {
|
|
@Element(endTag=false)
|
|
@Element(endTag=false)
|
|
public interface COL extends Attrs, _Child {
|
|
public interface COL extends Attrs, _Child {
|
|
/** COL attributes affect N columns. default: 1
|
|
/** COL attributes affect N columns. default: 1
|
|
- * @param cols
|
|
|
|
|
|
+ * @param cols number of cols.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
COL $span(int cols);
|
|
COL $span(int cols);
|
|
@@ -2896,25 +2896,25 @@ public class HamletSpec {
|
|
// use $title for elaberation, when appropriate.
|
|
// use $title for elaberation, when appropriate.
|
|
// $axis omitted. use scope.
|
|
// $axis omitted. use scope.
|
|
/** space-separated list of id's for header cells
|
|
/** space-separated list of id's for header cells
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Cell $headers(String cdata);
|
|
_Cell $headers(String cdata);
|
|
|
|
|
|
/** scope covered by header cells
|
|
/** scope covered by header cells
|
|
- * @param scope
|
|
|
|
|
|
+ * @param scope scope.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Cell $scope(Scope scope);
|
|
_Cell $scope(Scope scope);
|
|
|
|
|
|
/** number of rows spanned by cell. default: 1
|
|
/** number of rows spanned by cell. default: 1
|
|
- * @param rows
|
|
|
|
|
|
+ * @param rows number of rows.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Cell $rowspan(int rows);
|
|
_Cell $rowspan(int rows);
|
|
|
|
|
|
/** number of cols spanned by cell. default: 1
|
|
/** number of cols spanned by cell. default: 1
|
|
- * @param cols
|
|
|
|
|
|
+ * @param cols number of cols.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Cell $colspan(int cols);
|
|
_Cell $colspan(int cols);
|
|
@@ -2959,7 +2959,7 @@ public class HamletSpec {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Add a complete BASE element.
|
|
* Add a complete BASE element.
|
|
- * @param uri
|
|
|
|
|
|
+ * @param uri the URI.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
_Head base(String uri);
|
|
_Head base(String uri);
|
|
@@ -2984,7 +2984,7 @@ public class HamletSpec {
|
|
@Element(endTag=false)
|
|
@Element(endTag=false)
|
|
public interface BASE extends _Child {
|
|
public interface BASE extends _Child {
|
|
/** URI that acts as base URI
|
|
/** URI that acts as base URI
|
|
- * @param uri
|
|
|
|
|
|
+ * @param uri the URI.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
BASE $href(String uri);
|
|
BASE $href(String uri);
|
|
@@ -2996,19 +2996,19 @@ public class HamletSpec {
|
|
@Element(endTag=false)
|
|
@Element(endTag=false)
|
|
public interface META extends I18nAttrs, _Child {
|
|
public interface META extends I18nAttrs, _Child {
|
|
/** HTTP response header name
|
|
/** HTTP response header name
|
|
- * @param header
|
|
|
|
|
|
+ * @param header for the http-equiv attribute
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
META $http_equiv(String header);
|
|
META $http_equiv(String header);
|
|
|
|
|
|
/** metainformation name
|
|
/** metainformation name
|
|
- * @param name
|
|
|
|
|
|
+ * @param name of the meta element
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
META $name(String name);
|
|
META $name(String name);
|
|
|
|
|
|
/** associated information
|
|
/** associated information
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
META $content(String cdata);
|
|
META $content(String cdata);
|
|
@@ -3021,19 +3021,19 @@ public class HamletSpec {
|
|
*/
|
|
*/
|
|
public interface STYLE extends I18nAttrs, _Content, _Child {
|
|
public interface STYLE extends I18nAttrs, _Content, _Child {
|
|
/** content type of style language
|
|
/** content type of style language
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
STYLE $type(String cdata);
|
|
STYLE $type(String cdata);
|
|
|
|
|
|
/** designed for use with these media
|
|
/** designed for use with these media
|
|
- * @param media
|
|
|
|
|
|
+ * @param media set of media.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
STYLE $media(EnumSet<Media> media);
|
|
STYLE $media(EnumSet<Media> media);
|
|
|
|
|
|
/** advisory title
|
|
/** advisory title
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
STYLE $title(String cdata);
|
|
STYLE $title(String cdata);
|
|
@@ -3044,25 +3044,25 @@ public class HamletSpec {
|
|
*/
|
|
*/
|
|
public interface SCRIPT extends _Content, _Child {
|
|
public interface SCRIPT extends _Content, _Child {
|
|
/** char encoding of linked resource
|
|
/** char encoding of linked resource
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SCRIPT $charset(String cdata);
|
|
SCRIPT $charset(String cdata);
|
|
|
|
|
|
/** content type of script language
|
|
/** content type of script language
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SCRIPT $type(String cdata);
|
|
SCRIPT $type(String cdata);
|
|
|
|
|
|
/** URI for an external script
|
|
/** URI for an external script
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SCRIPT $src(String cdata);
|
|
SCRIPT $src(String cdata);
|
|
|
|
|
|
/** UA may defer execution of script
|
|
/** UA may defer execution of script
|
|
- * @param cdata
|
|
|
|
|
|
+ * @param cdata the content of the element.
|
|
* @return the current element builder
|
|
* @return the current element builder
|
|
*/
|
|
*/
|
|
SCRIPT $defer(String cdata);
|
|
SCRIPT $defer(String cdata);
|