Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnyListContent<D extends AnyDocument<D>,__ extends AnyListContent<D,__>>
- Type Parameters:
D
- This document type__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
AnyScriptSupportingContent<D,
,__> AnyUnion_COLGROUP_ScriptSupporting<D,
,__> Content<D,
,__> DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContent<D,
__>
- All Known Implementing Classes:
AnyDocument
,AnyMENU__
,AnyMENU_c
,AnyOL__
,AnyOL_c
,AnyUL__
,AnyUL_c
public interface AnyListContent<D extends AnyDocument<D>,__ extends AnyListContent<D,__>>
extends AnyScriptSupportingContent<D,__>
- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li tag.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionli()
Opens a new li element.default __
li__()
Creates an empty li element with no attributes.li__
(IORunnableE<Ex> li) Creates a li element with no attributes and the given body.default __
Creates a li element with no attributes and a text body.Creates a li element with no attributes and the given body.li_c()
Creates a li element with no attributes then begins element content.Methods inherited from interface com.aoapps.html.any.AnyScriptSupportingContent
script, script, script, script, script
Methods inherited from interface com.aoapps.html.any.AnyUnion_COLGROUP_ScriptSupporting
template
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
-
li
Opens a new li element.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li tag.
- Throws:
IOException
-
li__
Creates a li element with no attributes and the given body.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li 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
-
li__any
default <Ex extends Throwable> __ li__any(IOConsumerE<? super AnyLI__<D, __, throws IOException, Ex? extends AnyLI__<D, __, ?>>, Ex> li) Creates a li element with no attributes and the given body.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li 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
-
li__
Creates a li element with no attributes and a text body.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
li__
Creates an empty li element with no attributes.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
li_c
Creates a li element with no attributes then begins element content.- See 4.4.8 The li element.
- See <li>: The List Item element.
- See HTML li 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:
-