Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnySectioningContent<D extends AnyDocument<D>,__ extends AnySectioningContent<D,__>>
- Type Parameters:
D
- This document type__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
Content<D,
,__> DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContent<D,
,__> AnyDIV_content<D,
,__> AnyFlowContent<D,
,__> AnyPalpableContent<D,
__>
- All Known Implementing Classes:
AnyADDRESS__
,AnyADDRESS_c
,AnyARTICLE__
,AnyARTICLE_c
,AnyASIDE__
,AnyASIDE_c
,AnyBLOCKQUOTE__
,AnyBLOCKQUOTE_c
,AnyBODY__
,AnyBODY_c
,AnyCAPTION__
,AnyCAPTION_c
,AnyDD__
,AnyDD_c
,AnyDIV__
,AnyDIV_c
,AnyDocument
,AnyDT__
,AnyDT_c
,AnyFOOTER__
,AnyFOOTER_c
,AnyFORM__
,AnyFORM_c
,AnyHEADER__
,AnyHEADER_c
,AnyLI__
,AnyLI_c
,AnyMAIN__
,AnyMAIN_c
,AnyNAV__
,AnyNAV_c
,AnySECTION__
,AnySECTION_c
,AnyTD__
,AnyTD_c
,AnyTH__
,AnyTH_c
public interface AnySectioningContent<D extends AnyDocument<D>,__ extends AnySectioningContent<D,__>>
extends Content<D,__>
- 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 TypeMethodDescriptionAnyARTICLE
<D, __, ?, ?, ?> article()
Opens a new article element.default __
Creates an empty article element with no attributes.article__
(IORunnableE<Ex> article) Creates an article element with no attributes and the given body.default __
Creates an article element with no attributes and a text body.article__any
(IOConsumerE<? super AnyARTICLE__<D, __, ? extends AnyARTICLE__<D, __, ?>>, Ex> article) Creates an article element with no attributes and the given body.AnyARTICLE_c
<D, __, ?> Creates an article element with no attributes then begins element content.aside()
Opens a new aside element.default __
aside__()
Creates an empty aside element with no attributes.aside__
(IORunnableE<Ex> aside) Creates an aside element with no attributes and the given body.default __
Creates an aside element with no attributes and a text body.aside__any
(IOConsumerE<? super AnyASIDE__<D, __, ? extends AnyASIDE__<D, __, ?>>, Ex> aside) Creates an aside element with no attributes and the given body.AnyASIDE_c
<D, __, ?> aside_c()
Creates an aside element with no attributes then begins element content.nav()
Opens a new nav element.default __
nav__()
Creates an empty nav element with no attributes.nav__
(IORunnableE<Ex> nav) Creates a nav element with no attributes and the given body.default __
Creates a nav element with no attributes and a text body.Creates a nav element with no attributes and the given body.nav_c()
Creates a nav element with no attributes then begins element content.AnySECTION
<D, __, ?, ?, ?> section()
Opens a new section element.default __
Creates an empty section element with no attributes.section__
(IORunnableE<Ex> section) Creates a section element with no attributes and the given body.default __
Creates a section element with no attributes and a text body.section__any
(IOConsumerE<? super AnySECTION__<D, __, ? extends AnySECTION__<D, __, ?>>, Ex> section) Creates a section element with no attributes and the given body.AnySECTION_c
<D, __, ?> Creates a section element with no attributes then begins element content.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
Opens a new article element.- Throws:
IOException
- Since:
- HTML 5
-
article__
Creates 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__any
default <Ex extends Throwable> __ article__any(IOConsumerE<? super AnyARTICLE__<D, __, throws IOException, Ex? extends AnyARTICLE__<D, __, ?>>, Ex> article) Creates 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__
Creates an article element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
article__
Creates an empty article element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
article_c
Creates an article element with no attributes then begins element content.- Returns:
- The content model of this element, which will be the parent content model of child elements. This must be ended or closed in order to end the tag. This is well suited for use in a try-with-resources block.
- Throws:
IOException
- Since:
- HTML 5
- See Also:
-
aside
Opens a new aside element.- See 4.3.5 The aside element.
- See <aside>: The Aside element.
- See HTML aside Tag.
- Throws:
IOException
- Since:
- HTML 5
-
aside__
Creates 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__any
default <Ex extends Throwable> __ aside__any(IOConsumerE<? super AnyASIDE__<D, __, throws IOException, Ex? extends AnyASIDE__<D, __, ?>>, Ex> aside) Creates 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__
Creates an aside element with no attributes and a text body.- See 4.3.5 The aside element.
- See <aside>: The Aside element.
- See HTML aside Tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
aside__
Creates an empty aside element with no attributes.- See 4.3.5 The aside element.
- See <aside>: The Aside element.
- See HTML aside Tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
aside_c
Creates an aside element with no attributes then begins element content.- See 4.3.5 The aside element.
- See <aside>: The Aside element.
- See HTML aside Tag.
- Returns:
- The content model of this element, which will be the parent content model of child elements. This must be ended or closed in order to end the tag. This is well suited for use in a try-with-resources block.
- Throws:
IOException
- Since:
- HTML 5
- See Also:
-
section
Opens a new section element.- Throws:
IOException
- Since:
- HTML 5
-
section__
Creates 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__any
default <Ex extends Throwable> __ section__any(IOConsumerE<? super AnySECTION__<D, __, throws IOException, Ex? extends AnySECTION__<D, __, ?>>, Ex> section) Creates 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__
Creates a section element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
section__
Creates an empty section element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
- Since:
- HTML 5
-
section_c
Creates a section element with no attributes then begins element content.- Returns:
- The content model of this element, which will be the parent content model of child elements. This must be ended or closed in order to end the tag. This is well suited for use in a try-with-resources block.
- Throws:
IOException
- Since:
- HTML 5
- See Also:
-