Module com.aoapps.html
Package com.aoapps.html
Interface HeadingContent<__ extends HeadingContent<__>>
- Type Parameters:
__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
AnyHeadingContent<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 HeadingContent<__ extends HeadingContent<__>>
extends AnyHeadingContent<Document,__>, Content<__>
- See 3.2.5.2.4 Heading content.
- See Heading content.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionh1()
Opens a new h1 element.h1__
(IOConsumerE<? super H1__<__>, Ex> h1) Creates an h1 element with no attributes and the given body.h1_c()
h2()
h2__
(IOConsumerE<? super H2__<__>, Ex> h2) Creates an h2 element with no attributes and the given body.h2_c()
h3()
h3__
(IOConsumerE<? super H3__<__>, Ex> h3) Creates an h3 element with no attributes and the given body.h3_c()
h4()
h4__
(IOConsumerE<? super H4__<__>, Ex> h4) Creates an h4 element with no attributes and the given body.h4_c()
h5()
h5__
(IOConsumerE<? super H5__<__>, Ex> h5) Creates an h5 element with no attributes and the given body.h5_c()
h6()
h6__
(IOConsumerE<? super H6__<__>, Ex> h6) Creates an h6 element with no attributes and the given body.h6_c()
Methods inherited from interface com.aoapps.html.any.AnyHeadingContent
h, h__, h__, h__, h__, h_c, h1__, h1__, h1__, h1__any, h2__, h2__, h2__, h2__any, h3__, h3__, h3__, h3__any, h4__, h4__, h4__, h4__any, h5__, h5__, h5__, h5__any, h6__, h6__, h6__, h6__any, hgroup
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
-
h1
Opens a new h1 element.- Specified by:
h1
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h1__
Creates an h1 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
-
h1_c
- Specified by:
h1_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h2
- Specified by:
h2
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h2__
Creates an h2 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
-
h2_c
- Specified by:
h2_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h3
- Specified by:
h3
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h3__
Creates an h3 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
-
h3_c
- Specified by:
h3_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h4
- Specified by:
h4
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h4__
Creates an h4 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
-
h4_c
- Specified by:
h4_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h5
- Specified by:
h5
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h5__
Creates an h5 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
-
h5_c
- Specified by:
h5_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h6
- Specified by:
h6
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-
h6__
Creates an h6 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
-
h6_c
- Specified by:
h6_c
in interfaceAnyHeadingContent<Document,
__ extends HeadingContent<__>> - Throws:
IOException
-