Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnyHTML_content<D extends AnyDocument<D>,__ extends AnyHTML_content<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,
__>
- All Known Implementing Classes:
AnyDocument
,AnyHTML__
,AnyHTML_c
public interface AnyHTML_content<D extends AnyDocument<D>,__ extends AnyHTML_content<D,__>>
extends Content<D,__>
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionbody()
Opens a new body element.default __
body__()
Creates an empty body element with no attributes.body__
(IORunnableE<Ex> body) Creates a body element with no attributes and the given body.Creates a body element with no attributes and the given body.body_c()
Creates a body element with no attributes then begins element content.head()
Opens a new head element.default __
head__()
Creates an empty head element with no attributes.head__
(IORunnableE<Ex> head) Creates a head element with no attributes and the given body.Creates a head element with no attributes and the given body.head_c()
Creates a head 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
-
head
Opens a new head element.- Throws:
IOException
-
head__
Creates a head 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
-
head__any
default <Ex extends Throwable> __ head__any(IOConsumerE<? super AnyHEAD__<D, __, throws IOException, Ex? extends AnyHEAD__<D, __, ?>>, Ex> head) Creates a head 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
-
head__
Creates an empty head element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
head_c
Creates a head 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:
-
body
Opens a new body element.- See 4.3.1 The body element.
- See <body>: The Document Body element.
- See HTML body tag.
- Throws:
IOException
-
body__
Creates a body element with no attributes and the given body.- See 4.3.1 The body element.
- See <body>: The Document Body element.
- See HTML body 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
-
body__any
default <Ex extends Throwable> __ body__any(IOConsumerE<? super AnyBODY__<D, __, throws IOException, Ex? extends AnyBODY__<D, __, ?>>, Ex> body) Creates a body element with no attributes and the given body.- See 4.3.1 The body element.
- See <body>: The Document Body element.
- See HTML body 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
-
body__
Creates an empty body element with no attributes.- See 4.3.1 The body element.
- See <body>: The Document Body element.
- See HTML body tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
body_c
Creates a body element with no attributes then begins element content.- See 4.3.1 The body element.
- See <body>: The Document Body element.
- See HTML body 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
- See Also:
-