Module com.aoapps.html.servlet
Package com.aoapps.html.servlet
Interface HTML_content<__ extends HTML_content<__>>
- Type Parameters:
__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
AnyHTML_content<DocumentEE,
,__> Content<DocumentEE,
,__> ContentEE<DocumentEE,
,__> ContentEE<__>
,DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContentEE<__>
- All Known Implementing Classes:
DocumentEE
,HTML__
,HTML_c
public interface HTML_content<__ extends HTML_content<__>>
extends AnyHTML_content<DocumentEE,__>, ContentEE<__>
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Methods inherited from interface com.aoapps.html.any.AnyHTML_content
body__, body__, body__any, head__, head__, head__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
-
head
- Specified by:
head
in interfaceAnyHTML_content<DocumentEE,
__ extends HTML_content<__>> - Throws:
IOException
-
head__
default <Ex extends Throwable> __ head__(IOConsumerE<? super HEAD__<__>, Ex> head) throws IOException, ExCreates 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_c
- Specified by:
head_c
in interfaceAnyHTML_content<DocumentEE,
__ extends HTML_content<__>> - Throws:
IOException
-
body
- Specified by:
body
in interfaceAnyHTML_content<DocumentEE,
__ extends HTML_content<__>> - Throws:
IOException
-
body__
default <Ex extends Throwable> __ body__(IOConsumerE<? super BODY__<__>, Ex> body) throws IOException, ExCreates 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_c
- Specified by:
body_c
in interfaceAnyHTML_content<DocumentEE,
__ extends HTML_content<__>> - Throws:
IOException
-