Package com.aoapps.html
Meaningful, context-aware code assistance and compiler support is achieved through extensive use of the interface hierarchy along with bounded generics. With these techniques, the relationships of HTML elements, attributes, and content is modeled without specifically programming all combinations through code generation.
Things this is not:
-
DOM - elements, attributes, and content are rather ethereal. They exist only as the code writing HTML output. There is no way to navigate or query the document object model, because it simply does not exist.
-
HTML validator - although many details have been put into the relationships between elements, attributes, and content, the API does not actively prevent writing incorrect HTML, such as writing the same attribute more than once on an element. Most of the writers are quite stateless, and just do as they are told and do so immediately.
This follows the naming conventions specified in com.aoapps.html.any
, but without "Any" prefixed to names.
-
ClassDescriptionA<PC extends Union_Interactive_Phrasing<PC>>A_c<PC extends Union_Interactive_Phrasing<PC>>ABBR<PC extends Union_Palpable_Phrasing<PC>>ABBR__<PC extends Union_Palpable_Phrasing<PC>>ABBR_c<PC extends Union_Palpable_Phrasing<PC>>ADDRESS<PC extends PalpableContent<PC>>ADDRESS__<PC extends PalpableContent<PC>>ADDRESS_c<PC extends PalpableContent<PC>>AnyContent<__ extends AnyContent<__>>This interface extends all content interfaces and supports all element types.AREA<PC extends PhrasingContent<PC>>ARTICLE<PC extends SectioningContent<PC>>ARTICLE__<PC extends SectioningContent<PC>>ARTICLE_c<PC extends SectioningContent<PC>>ASIDE<PC extends SectioningContent<PC>>ASIDE__<PC extends SectioningContent<PC>>ASIDE_c<PC extends SectioningContent<PC>>B<PC extends Union_Palpable_Phrasing<PC>>B__<PC extends Union_Palpable_Phrasing<PC>>B_c<PC extends Union_Palpable_Phrasing<PC>>BASE<PC extends MetadataContent<PC>>BDI<PC extends Union_Palpable_Phrasing<PC>>BDI__<PC extends Union_Palpable_Phrasing<PC>>BDI_c<PC extends Union_Palpable_Phrasing<PC>>BDO<PC extends Union_Palpable_Phrasing<PC>>BDO__<PC extends Union_Palpable_Phrasing<PC>>BDO_c<PC extends Union_Palpable_Phrasing<PC>>BLOCKQUOTE<PC extends PalpableContent<PC>>BLOCKQUOTE__<PC extends PalpableContent<PC>>BLOCKQUOTE_c<PC extends PalpableContent<PC>>BODY<PC extends HTML_content<PC>>BODY__<PC extends HTML_content<PC>>BODY_c<PC extends HTML_content<PC>>BR<PC extends PhrasingContent<PC>>CAPTION<PC extends TABLE_content<PC>>CAPTION__<PC extends TABLE_content<PC>>CAPTION_c<PC extends TABLE_content<PC>>CITE<PC extends Union_Palpable_Phrasing<PC>>CITE__<PC extends Union_Palpable_Phrasing<PC>>CITE_c<PC extends Union_Palpable_Phrasing<PC>>CODE<PC extends Union_Palpable_Phrasing<PC>>CODE__<PC extends Union_Palpable_Phrasing<PC>>CODE_c<PC extends Union_Palpable_Phrasing<PC>>COL<PC extends COLGROUP_content<PC>>COLGROUP<PC extends TABLE_content<PC>>COLGROUP__<PC extends TABLE_content<PC>>COLGROUP_c<PC extends TABLE_content<PC>>COLGROUP_content<__ extends COLGROUP_content<__>>The methods common to all content models.DATA<PC extends Union_Palpable_Phrasing<PC>>DATA__<PC extends Union_Palpable_Phrasing<PC>>DATA_c<PC extends Union_Palpable_Phrasing<PC>>DATALIST<PC extends PhrasingContent<PC>>DATALIST__<PC extends PhrasingContent<PC>>DATALIST_c<PC extends PhrasingContent<PC>>DATALIST_content<__ extends DATALIST_content<__>>DD<PC extends Union_DIV_DL<PC>>DD__<PC extends Union_DIV_DL<PC>>DD_c<PC extends Union_DIV_DL<PC>>DEL<PC extends PhrasingContent<PC>>DEL_c<PC extends PhrasingContent<PC>>DFN<PC extends Union_Palpable_Phrasing<PC>>DFN__<PC extends Union_Palpable_Phrasing<PC>>DFN_c<PC extends Union_Palpable_Phrasing<PC>>DIV<PC extends Union_DL_Palpable<PC>>DIV__<PC extends Union_DL_Palpable<PC>>DIV_c<PC extends Union_DL_Palpable<PC>>DIV_content<__ extends DIV_content<__>>DL<PC extends PalpableContent<PC>>DL__<PC extends PalpableContent<PC>>DL_c<PC extends PalpableContent<PC>>DL_content<__ extends DL_content<__>>Fluent Java DSL for high-performance HTML generation.DT<PC extends Union_DIV_DL<PC>>DT__<PC extends Union_DIV_DL<PC>>DT_c<PC extends Union_DIV_DL<PC>>EM<PC extends Union_Palpable_Phrasing<PC>>EM__<PC extends Union_Palpable_Phrasing<PC>>EM_c<PC extends Union_Palpable_Phrasing<PC>>EmbeddedContent<__ extends EmbeddedContent<__>>See 3.2.5.2.6 Embedded content. See Embedded content.FlowContent<__ extends FlowContent<__>>See 3.2.5.2.2 Flow content. See Flow content.FOOTER<PC extends PalpableContent<PC>>FOOTER__<PC extends PalpableContent<PC>>FOOTER_c<PC extends PalpableContent<PC>>FORM<PC extends PalpableContent<PC>>FORM__<PC extends PalpableContent<PC>>FORM_c<PC extends PalpableContent<PC>>H1<PC extends HeadingContent<PC>>H1__<PC extends HeadingContent<PC>>H1_c<PC extends HeadingContent<PC>>H2<PC extends HeadingContent<PC>>H2__<PC extends HeadingContent<PC>>H2_c<PC extends HeadingContent<PC>>H3<PC extends HeadingContent<PC>>H3__<PC extends HeadingContent<PC>>H3_c<PC extends HeadingContent<PC>>H4<PC extends HeadingContent<PC>>H4__<PC extends HeadingContent<PC>>H4_c<PC extends HeadingContent<PC>>H5<PC extends HeadingContent<PC>>H5__<PC extends HeadingContent<PC>>H5_c<PC extends HeadingContent<PC>>H6<PC extends HeadingContent<PC>>H6__<PC extends HeadingContent<PC>>H6_c<PC extends HeadingContent<PC>>HEAD<PC extends HTML_content<PC>>HEAD__<PC extends HTML_content<PC>>HEAD_c<PC extends HTML_content<PC>>HEADER<PC extends PalpableContent<PC>>HEADER__<PC extends PalpableContent<PC>>HEADER_c<PC extends PalpableContent<PC>>HeadingContent<__ extends HeadingContent<__>>See 3.2.5.2.4 Heading content. See Heading content.HR<PC extends FlowContent<PC>>HTML_content<__ extends HTML_content<__>>I<PC extends Union_Palpable_Phrasing<PC>>I__<PC extends Union_Palpable_Phrasing<PC>>I_c<PC extends Union_Palpable_Phrasing<PC>>IMG<PC extends Union_Embedded_Interactive<PC>>INPUT.Button<PC extends Union_Interactive_Phrasing<PC>>INPUT.Checkbox<PC extends Union_Interactive_Phrasing<PC>>INPUT.Color<PC extends Union_Interactive_Phrasing<PC>>INPUT.Date<PC extends Union_Interactive_Phrasing<PC>>INPUT.DatetimeLocal<PC extends Union_Interactive_Phrasing<PC>>INPUT.Dynamic<PC extends Union_Interactive_Phrasing<PC>>See HTML input tag.INPUT.Email<PC extends Union_Interactive_Phrasing<PC>>INPUT.File<PC extends Union_Interactive_Phrasing<PC>>See HTML input type="file". See <input type="file">.INPUT.Hidden<PC extends Union_Interactive_Phrasing<PC>>INPUT.Image<PC extends Union_Interactive_Phrasing<PC>>See <input type="image">. See HTML input type="image".INPUT.Month<PC extends Union_Interactive_Phrasing<PC>>INPUT.Number<PC extends Union_Interactive_Phrasing<PC>>INPUT.Password<PC extends Union_Interactive_Phrasing<PC>>INPUT.Radio<PC extends Union_Interactive_Phrasing<PC>>INPUT.Range<PC extends Union_Interactive_Phrasing<PC>>INPUT.Reset<PC extends Union_Interactive_Phrasing<PC>>INPUT.Search<PC extends Union_Interactive_Phrasing<PC>>INPUT.Submit<PC extends Union_Interactive_Phrasing<PC>>INPUT.Tel<PC extends Union_Interactive_Phrasing<PC>>INPUT.Text<PC extends Union_Interactive_Phrasing<PC>>INPUT.Time<PC extends Union_Interactive_Phrasing<PC>>INPUT.Url<PC extends Union_Interactive_Phrasing<PC>>INPUT.Week<PC extends Union_Interactive_Phrasing<PC>>INS<PC extends Union_Palpable_Phrasing<PC>>INS_c<PC extends Union_Palpable_Phrasing<PC>>InteractiveContent<__ extends InteractiveContent<__>>KBD<PC extends Union_Palpable_Phrasing<PC>>KBD__<PC extends Union_Palpable_Phrasing<PC>>KBD_c<PC extends Union_Palpable_Phrasing<PC>>LABEL<PC extends Union_Interactive_Phrasing<PC>>LABEL__<PC extends Union_Interactive_Phrasing<PC>>LABEL_c<PC extends Union_Interactive_Phrasing<PC>>LI<PC extends ListContent<PC>>LI__<PC extends ListContent<PC>>LI_c<PC extends ListContent<PC>>LINK<PC extends Union_Metadata_Phrasing<PC>>ListContent<__ extends ListContent<__>>MAIN<PC extends PalpableContent<PC>>MAIN__<PC extends PalpableContent<PC>>MAIN_c<PC extends PalpableContent<PC>>MAP<PC extends Union_Palpable_Phrasing<PC>>MAP_c<PC extends Union_Palpable_Phrasing<PC>>MARK<PC extends Union_Palpable_Phrasing<PC>>MARK__<PC extends Union_Palpable_Phrasing<PC>>MARK_c<PC extends Union_Palpable_Phrasing<PC>>MENU<PC extends InteractiveContent<PC>>MENU__<PC extends InteractiveContent<PC>>MENU_c<PC extends InteractiveContent<PC>>META<PC extends Union_Metadata_Phrasing<PC>>MetadataContent<__ extends MetadataContent<__>>See 3.2.5.2.1 Metadata content. See Metadata content.METER<PC extends Union_Palpable_Phrasing<PC>>METER__<PC extends Union_Palpable_Phrasing<PC>>METER_c<PC extends Union_Palpable_Phrasing<PC>>NAV<PC extends SectioningContent<PC>>NAV__<PC extends SectioningContent<PC>>NAV_c<PC extends SectioningContent<PC>>OBJECT<PC extends Union_Embedded_Interactive<PC>>OBJECT__<PC extends Union_Embedded_Interactive<PC>>OBJECT_c<PC extends Union_Embedded_Interactive<PC>>OBJECT_content<__ extends OBJECT_content<__>>OL<PC extends PalpableContent<PC>>OL__<PC extends PalpableContent<PC>>OL_c<PC extends PalpableContent<PC>>OPTGROUP<PC extends SELECT_content<PC>>OPTGROUP__<PC extends SELECT_content<PC>>OPTGROUP_c<PC extends SELECT_content<PC>>OPTGROUP_content<__ extends OPTGROUP_content<__>>OPTION<PC extends Union_DATALIST_OPTGROUP<PC>>OPTION__<PC extends Union_DATALIST_OPTGROUP<PC>>OPTION_c<PC extends Union_DATALIST_OPTGROUP<PC>>OUTPUT<PC extends Union_Palpable_Phrasing<PC>>OUTPUT__<PC extends Union_Palpable_Phrasing<PC>>OUTPUT_c<PC extends Union_Palpable_Phrasing<PC>>P<PC extends PalpableContent<PC>>P__<PC extends PalpableContent<PC>>P_c<PC extends PalpableContent<PC>>PalpableContent<__ extends PalpableContent<__>>See 3.2.5.2.8 Palpable content. See Palpable content.PARAM<PC extends OBJECT_content<PC>>PhrasingContent<__ extends PhrasingContent<__>>See 3.2.5.2.5 Phrasing content. See Phrasing content.PRE<PC extends PalpableContent<PC>>PRE__<PC extends PalpableContent<PC>>PRE_c<PC extends PalpableContent<PC>>PROGRESS<PC extends Union_Palpable_Phrasing<PC>>PROGRESS__<PC extends Union_Palpable_Phrasing<PC>>PROGRESS_c<PC extends Union_Palpable_Phrasing<PC>>Q<PC extends Union_Palpable_Phrasing<PC>>Q__<PC extends Union_Palpable_Phrasing<PC>>Q_c<PC extends Union_Palpable_Phrasing<PC>>S<PC extends Union_Palpable_Phrasing<PC>>S__<PC extends Union_Palpable_Phrasing<PC>>S_c<PC extends Union_Palpable_Phrasing<PC>>SAMP<PC extends Union_Palpable_Phrasing<PC>>SAMP__<PC extends Union_Palpable_Phrasing<PC>>SAMP_c<PC extends Union_Palpable_Phrasing<PC>>SCRIPT<PC extends ScriptSupportingContent<PC>>ScriptSupportingContent<__ extends ScriptSupportingContent<__>>SECTION<PC extends SectioningContent<PC>>SECTION__<PC extends SectioningContent<PC>>SECTION_c<PC extends SectioningContent<PC>>SectioningContent<__ extends SectioningContent<__>>SELECT<PC extends Union_Interactive_Phrasing<PC>>SELECT__<PC extends Union_Interactive_Phrasing<PC>>SELECT_c<PC extends Union_Interactive_Phrasing<PC>>SELECT_content<__ extends SELECT_content<__>>SMALL<PC extends Union_Palpable_Phrasing<PC>>SMALL__<PC extends Union_Palpable_Phrasing<PC>>SMALL_c<PC extends Union_Palpable_Phrasing<PC>>SPAN<PC extends Union_Palpable_Phrasing<PC>>SPAN__<PC extends Union_Palpable_Phrasing<PC>>SPAN_c<PC extends Union_Palpable_Phrasing<PC>>STRONG<PC extends Union_Palpable_Phrasing<PC>>STRONG__<PC extends Union_Palpable_Phrasing<PC>>STRONG_c<PC extends Union_Palpable_Phrasing<PC>>STYLE<PC extends MetadataContent<PC>>SUB<PC extends Union_Palpable_Phrasing<PC>>SUB__<PC extends Union_Palpable_Phrasing<PC>>SUB_c<PC extends Union_Palpable_Phrasing<PC>>SUP<PC extends Union_Palpable_Phrasing<PC>>SUP__<PC extends Union_Palpable_Phrasing<PC>>SUP_c<PC extends Union_Palpable_Phrasing<PC>>TABLE<PC extends PalpableContent<PC>>TABLE__<PC extends PalpableContent<PC>>TABLE_c<PC extends PalpableContent<PC>>TABLE_content<__ extends TABLE_content<__>>TBODY<PC extends TABLE_content<PC>>TBODY__<PC extends TABLE_content<PC>>TBODY_c<PC extends TABLE_content<PC>>TD<PC extends TR_content<PC>>TD__<PC extends TR_content<PC>>TD_c<PC extends TR_content<PC>>TEXTAREA<PC extends Union_Interactive_Phrasing<PC>>TEXTAREA__<PC extends Union_Interactive_Phrasing<PC>>TEXTAREA_c<PC extends Union_Interactive_Phrasing<PC>>TextContent<__ extends TextContent<__>>TFOOT<PC extends TABLE_content<PC>>TFOOT__<PC extends TABLE_content<PC>>TFOOT_c<PC extends TABLE_content<PC>>TH<PC extends TR_content<PC>>TH__<PC extends TR_content<PC>>TH_c<PC extends TR_content<PC>>THEAD<PC extends TABLE_content<PC>>THEAD__<PC extends TABLE_content<PC>>THEAD_c<PC extends TABLE_content<PC>>TITLE<PC extends MetadataContent<PC>>TITLE__<PC extends MetadataContent<PC>>TITLE_c<PC extends MetadataContent<PC>>TR<PC extends Union_TBODY_THEAD_TFOOT<PC>>TR__<PC extends Union_TBODY_THEAD_TFOOT<PC>>TR_c<PC extends Union_TBODY_THEAD_TFOOT<PC>>TR_content<__ extends TR_content<__>>U<PC extends Union_Palpable_Phrasing<PC>>U__<PC extends Union_Palpable_Phrasing<PC>>U_c<PC extends Union_Palpable_Phrasing<PC>>UL<PC extends PalpableContent<PC>>UL__<PC extends PalpableContent<PC>>UL_c<PC extends PalpableContent<PC>>Union_COLGROUP_ScriptSupporting<__ extends Union_COLGROUP_ScriptSupporting<__>>Elements that are common to both
COLGROUP_content
andScriptSupportingContent
.Union_DATALIST_OPTGROUP<__ extends Union_DATALIST_OPTGROUP<__>>Elements that are common to bothDATALIST_content
andOPTGROUP_content
.Union_DIV_DL<__ extends Union_DIV_DL<__>>Elements that are common to bothDIV_content
andDL_content
.Union_DL_Palpable<__ extends Union_DL_Palpable<__>>Elements that are common to bothDL_content
andPalpableContent
.Union_Embedded_Interactive<__ extends Union_Embedded_Interactive<__>>Elements that are common to bothEmbeddedContent
andInteractiveContent
.Union_Embedded_Palpable_Phrasing<__ extends Union_Embedded_Palpable_Phrasing<__>>Union_Interactive_Phrasing<__ extends Union_Interactive_Phrasing<__>>Elements that are common to bothInteractiveContent
andPhrasingContent
.Union_Interactive_Phrasing.InputFactory<__ extends Union_Interactive_Phrasing<__>>Specialized input implementations.Union_Metadata_Phrasing<__ extends Union_Metadata_Phrasing<__>>Elements that are common to bothMetadataContent
andPhrasingContent
.Union_Palpable_Phrasing<__ extends Union_Palpable_Phrasing<__>>Elements that are common to bothPalpableContent
andPhrasingContent
.Union_TBODY_THEAD_TFOOT<__ extends Union_TBODY_THEAD_TFOOT<__>>VAR<PC extends Union_Palpable_Phrasing<PC>>VAR__<PC extends Union_Palpable_Phrasing<PC>>VAR_c<PC extends Union_Palpable_Phrasing<PC>>WBR<PC extends PhrasingContent<PC>>