Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnyHeadingContent<D extends AnyDocument<D>,__ extends AnyHeadingContent<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 AnyHeadingContent<D extends AnyDocument<D>,__ extends AnyHeadingContent<D,__>>
extends Content<D,__>
- 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 TypeMethodDescriptiondefault <H extends AnyH<D,
__, H, H__, H_c>, H__ extends AnyH__<D, __, H__>, H_c extends AnyH_c<D, __, H_c>>
Hh
(int rank) Opens a new h# element.default __
h__
(int rank) Creates an empty h# element with no attributes.h__
(int rank, IOConsumerE<? super H__, Ex> h) Creates an h# element with no attributes and the given body.h__
(int rank, IORunnableE<Ex> h) Creates an h# element with no attributes and the given body.default __
Creates an h# element with no attributes and a text body.h_c
(int rank) Creates an h# element with no attributes then begins element content.h1()
Opens a new h1 element.default __
h1__()
Creates an empty h1 element with no attributes.h1__
(IORunnableE<Ex> h1) Creates an h1 element with no attributes and the given body.default __
Creates an h1 element with no attributes and a text body.Creates an h1 element with no attributes and the given body.h1_c()
Creates an h1 element with no attributes then begins element content.h2()
Opens a new h2 element.default __
h2__()
Creates an empty h2 element with no attributes.h2__
(IORunnableE<Ex> h2) Creates an h2 element with no attributes and the given body.default __
Creates an h2 element with no attributes and a text body.Creates an h2 element with no attributes and the given body.h2_c()
Creates an h2 element with no attributes then begins element content.h3()
Opens a new h3 element.default __
h3__()
Creates an empty h3 element with no attributes.h3__
(IORunnableE<Ex> h3) Creates an h3 element with no attributes and the given body.default __
Creates an h3 element with no attributes and a text body.Creates an h3 element with no attributes and the given body.h3_c()
Creates an h3 element with no attributes then begins element content.h4()
Opens a new h4 element.default __
h4__()
Creates an empty h4 element with no attributes.h4__
(IORunnableE<Ex> h4) Creates an h4 element with no attributes and the given body.default __
Creates an h4 element with no attributes and a text body.Creates an h4 element with no attributes and the given body.h4_c()
Creates an h4 element with no attributes then begins element content.h5()
Opens a new h5 element.default __
h5__()
Creates an empty h5 element with no attributes.h5__
(IORunnableE<Ex> h5) Creates an h5 element with no attributes and the given body.default __
Creates an h5 element with no attributes and a text body.Creates an h5 element with no attributes and the given body.h5_c()
Creates an h5 element with no attributes then begins element content.h6()
Opens a new h6 element.default __
h6__()
Creates an empty h6 element with no attributes.h6__
(IORunnableE<Ex> h6) Creates an h6 element with no attributes and the given body.default __
Creates an h6 element with no attributes and a text body.Creates an h6 element with no attributes and the given body.h6_c()
Creates an h6 element with no attributes then begins element content.default AnyHGROUP
hgroup()
Deprecated.TODO: Implement hgroupMethods 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.- 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__any
default <Ex extends Throwable> __ h1__any(IOConsumerE<? super AnyH1__<D, __, throws IOException, Ex? extends AnyH1__<D, __, ?>>, Ex> 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__
Creates an h1 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h1__
Creates an empty h1 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h1_c
Creates an h1 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
- See Also:
-
h2
Opens a new h2 element.- 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__any
default <Ex extends Throwable> __ h2__any(IOConsumerE<? super AnyH2__<D, __, throws IOException, Ex? extends AnyH2__<D, __, ?>>, Ex> 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__
Creates an h2 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h2__
Creates an empty h2 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h2_c
Creates an h2 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
- See Also:
-
h3
Opens a new h3 element.- 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__any
default <Ex extends Throwable> __ h3__any(IOConsumerE<? super AnyH3__<D, __, throws IOException, Ex? extends AnyH3__<D, __, ?>>, Ex> 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__
Creates an h3 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h3__
Creates an empty h3 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h3_c
Creates an h3 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
- See Also:
-
h4
Opens a new h4 element.- 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__any
default <Ex extends Throwable> __ h4__any(IOConsumerE<? super AnyH4__<D, __, throws IOException, Ex? extends AnyH4__<D, __, ?>>, Ex> 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__
Creates an h4 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h4__
Creates an empty h4 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h4_c
Creates an h4 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
- See Also:
-
h5
Opens a new h5 element.- 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__any
default <Ex extends Throwable> __ h5__any(IOConsumerE<? super AnyH5__<D, __, throws IOException, Ex? extends AnyH5__<D, __, ?>>, Ex> 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__
Creates an h5 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h5__
Creates an empty h5 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h5_c
Creates an h5 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
- See Also:
-
h6
Opens a new h6 element.- 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__any
default <Ex extends Throwable> __ h6__any(IOConsumerE<? super AnyH6__<D, __, throws IOException, Ex? extends AnyH6__<D, __, ?>>, Ex> 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__
Creates an h6 element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h6__
Creates an empty h6 element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h6_c
Creates an h6 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
- See Also:
-
h
default <H extends AnyH<D,__, H hH, H__, H_c>, H__ extends AnyH__<D, __, H__>, H_c extends AnyH_c<D, __, H_c>> (int rank) throws IOException Opens a new h# element.- Throws:
IOException
-
h__
Creates an h# 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
-
h__
default <H__ extends AnyH__<D,__, __ h__H__>, Ex extends Throwable> (int rank, IOConsumerE<? super H__, Ex> h) throws IOException, ExCreates an h# 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
-
h__
Creates an h# element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h__
Creates an empty h# element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
h_c
Creates an h# 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
- See Also:
-
hgroup
Deprecated.TODO: Implement hgroupOpens a new hgroup element.- Throws:
IOException
- Since:
- HTML 5
-