Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnyUnion_DATALIST_OPTGROUP<D extends AnyDocument<D>,__ extends AnyUnion_DATALIST_OPTGROUP<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,
,__> AnyDATALIST_content<D,
,__> AnyOPTGROUP_content<D,
,__> AnySELECT_content<D,
__>
- All Known Implementing Classes:
AnyDATALIST__
,AnyDATALIST_c
,AnyDocument
,AnyOPTGROUP__
,AnyOPTGROUP_c
,AnySELECT__
,AnySELECT_c
public interface AnyUnion_DATALIST_OPTGROUP<D extends AnyDocument<D>,__ extends AnyUnion_DATALIST_OPTGROUP<D,__>>
extends Content<D,__>
Elements that are common to both
AnyDATALIST_content
and AnyOPTGROUP_content
.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionoption()
Opens a new option element.default __
option__()
Creates an empty option element with no attributes.option__
(IORunnableE<Ex> option) Creates an option element with no attributes and the given body.default __
Creates an option element with no attributes and a text body.option__any
(IOConsumerE<? super AnyOPTION__<D, __, ? extends AnyOPTION__<D, __, ?>>, Ex> option) Creates an option element with no attributes and the given body.AnyOPTION_c
<D, __, ?> option_c()
Creates an option 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
-
option
Opens a new option element.- Throws:
IOException
-
option__
Creates an option 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
-
option__any
default <Ex extends Throwable> __ option__any(IOConsumerE<? super AnyOPTION__<D, __, throws IOException, Ex? extends AnyOPTION__<D, __, ?>>, Ex> option) Creates an option 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
-
option__
Creates an option element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
option__
Creates an empty option element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
option_c
Creates an option 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:
-