Module com.aoapps.html
Package com.aoapps.html
Interface SectioningContent<__ extends SectioningContent<__>>
- Type Parameters:
__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
AnySectioningContent<Document,
,__> Content<Document,
,__> Content<__>
,DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContent<__>
,DIV_content<__>
,FlowContent<__>
,PalpableContent<__>
- All Known Implementing Classes:
ADDRESS__
,ADDRESS_c
,ARTICLE__
,ARTICLE_c
,ASIDE__
,ASIDE_c
,BLOCKQUOTE__
,BLOCKQUOTE_c
,BODY__
,BODY_c
,CAPTION__
,CAPTION_c
,DD__
,DD_c
,DIV__
,DIV_c
,Document
,DT__
,DT_c
,FOOTER__
,FOOTER_c
,FORM__
,FORM_c
,HEADER__
,HEADER_c
,LI__
,LI_c
,MAIN__
,MAIN_c
,NAV__
,NAV_c
,SECTION__
,SECTION_c
,TD__
,TD_c
,TH__
,TH_c
public interface SectioningContent<__ extends SectioningContent<__>>
extends AnySectioningContent<Document,__>, Content<__>
- Since:
- HTML 5
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionarticle()
article__
(IOConsumerE<? super ARTICLE__<__>, Ex> article) Creates an article element with no attributes and the given body.aside()
aside__
(IOConsumerE<? super ASIDE__<__>, Ex> aside) Creates an aside element with no attributes and the given body.aside_c()
nav()
nav__
(IOConsumerE<? super NAV__<__>, Ex> nav) Creates a nav element with no attributes and the given body.nav_c()
section()
section__
(IOConsumerE<? super SECTION__<__>, Ex> section) Creates a section element with no attributes and the given body.Methods inherited from interface com.aoapps.html.any.AnySectioningContent
article__, article__, article__, article__any, aside__, aside__, aside__, aside__any, nav__, nav__, nav__, nav__any, section__, section__, section__, section__any
Methods inherited from interface com.aoapps.html.any.Content
autoIndent, autoIndent, autoNl, autoNli, autoNli, clearAtnl, decDepth, getAtnl, getAutonli, getDepth, getDocument, getIndent, getRawUnsafe, getRawUnsafe, incDepth, indent, indent, nl, nli, nli, setAtnl, setAtnl, setAutonli, setDepth, setIndent, sp, sp, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe
-
Method Details
-
article
- Specified by:
article
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-
article__
default <Ex extends Throwable> __ article__(IOConsumerE<? super ARTICLE__<__>, Ex> article) throws IOException, ExCreates an article element with no attributes and the given body.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
Ex
- Since:
- HTML 5
-
article_c
- Specified by:
article_c
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-
aside
- Specified by:
aside
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-
aside__
default <Ex extends Throwable> __ aside__(IOConsumerE<? super ASIDE__<__>, Ex> aside) throws IOException, ExCreates an aside element with no attributes and the given body.- See 4.3.5 The aside element.
- See <aside>: The Aside element.
- See HTML aside Tag.
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
Ex
- Since:
- HTML 5
-
aside_c
- Specified by:
aside_c
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-
section
- Specified by:
section
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-
section__
default <Ex extends Throwable> __ section__(IOConsumerE<? super SECTION__<__>, Ex> section) throws IOException, ExCreates a section element with no attributes and the given body.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
Ex
- Since:
- HTML 5
-
section_c
- Specified by:
section_c
in interfaceAnySectioningContent<Document,
__ extends SectioningContent<__>> - Throws:
IOException
-