Interface AnyUnion_Interactive_Phrasing<D extends AnyDocument<D>,__ extends AnyUnion_Interactive_Phrasing<D,__>>
- Type Parameters:
D
- This document type__
- This content model, which will be the parent content model of child elements
- All Superinterfaces:
AnyUnion_Embedded_Interactive<D,
,__> Content<D,
,__> DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContent<D,
,__> AnyDATALIST_content<D,
,__> AnyDIV_content<D,
,__> AnyFlowContent<D,
,__> AnyInteractiveContent<D,
,__> AnyPalpableContent<D,
,__> AnyPhrasingContent<D,
,__> AnyUnion_Palpable_Phrasing<D,
__>
- All Known Implementing Classes:
AnyA_c
,AnyABBR__
,AnyABBR_c
,AnyADDRESS__
,AnyADDRESS_c
,AnyARTICLE__
,AnyARTICLE_c
,AnyASIDE__
,AnyASIDE_c
,AnyB__
,AnyB_c
,AnyBDI__
,AnyBDI_c
,AnyBDO__
,AnyBDO_c
,AnyBLOCKQUOTE__
,AnyBLOCKQUOTE_c
,AnyBODY__
,AnyBODY_c
,AnyCAPTION__
,AnyCAPTION_c
,AnyCITE__
,AnyCITE_c
,AnyCODE__
,AnyCODE_c
,AnyDATA__
,AnyDATA_c
,AnyDATALIST__
,AnyDATALIST_c
,AnyDD__
,AnyDD_c
,AnyDEL_c
,AnyDFN__
,AnyDFN_c
,AnyDIV__
,AnyDIV_c
,AnyDocument
,AnyDT__
,AnyDT_c
,AnyEM__
,AnyEM_c
,AnyFOOTER__
,AnyFOOTER_c
,AnyFORM__
,AnyFORM_c
,AnyH__
,AnyH_c
,AnyH1__
,AnyH1_c
,AnyH2__
,AnyH2_c
,AnyH3__
,AnyH3_c
,AnyH4__
,AnyH4_c
,AnyH5__
,AnyH5_c
,AnyH6__
,AnyH6_c
,AnyHEADER__
,AnyHEADER_c
,AnyI__
,AnyI_c
,AnyINS_c
,AnyKBD__
,AnyKBD_c
,AnyLABEL__
,AnyLABEL_c
,AnyLI__
,AnyLI_c
,AnyMAIN__
,AnyMAIN_c
,AnyMAP_c
,AnyMARK__
,AnyMARK_c
,AnyMETER__
,AnyMETER_c
,AnyNAV__
,AnyNAV_c
,AnyOUTPUT__
,AnyOUTPUT_c
,AnyP__
,AnyP_c
,AnyPRE__
,AnyPRE_c
,AnyPROGRESS__
,AnyPROGRESS_c
,AnyQ__
,AnyQ_c
,AnyS__
,AnyS_c
,AnySAMP__
,AnySAMP_c
,AnySECTION__
,AnySECTION_c
,AnySMALL__
,AnySMALL_c
,AnySPAN__
,AnySPAN_c
,AnySTRONG__
,AnySTRONG_c
,AnySUB__
,AnySUB_c
,AnySUP__
,AnySUP_c
,AnyTD__
,AnyTD_c
,AnyTH__
,AnyTH_c
,AnyU__
,AnyU_c
,AnyVAR__
,AnyVAR_c
AnyInteractiveContent
and AnyPhrasingContent
.- Author:
- AO Industries, Inc.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
AnyUnion_Interactive_Phrasing.InputFactory<D extends AnyDocument<D>,
__ extends AnyUnion_Interactive_Phrasing<D, __>> Specialized input implementations. -
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptiona()
Opens a new a element.a
(IOSupplierE<? extends String, Ex> href) Opens a new a element with the given href attribute.Opens a new a element with the given href attribute.default __
a__()
Creates an empty a element with no attributes.a__
(IOConsumerE<? super __, Ex> a) Creates an a element with no attributes and the given body.a__
(IORunnableE<Ex> a) Creates an a element with no attributes and the given body.default __
Creates an a element with no attributes and a text body.a_c()
Creates an a element with no attributes then begins element content.default AnyBUTTON
button()
Deprecated.TODO: Implement buttoninput()
Specialized input implementations.label()
Opens a new label element.default __
label__()
Creates an empty label element with no attributes.label__
(IORunnableE<Ex> label) Creates a label element with no attributes and the given body.default __
Creates a label element with no attributes and a text body.label__any
(IOConsumerE<? super AnyLABEL__<D, __, ? extends AnyLABEL__<D, __, ?>>, Ex> label) Creates a label element with no attributes and the given body.AnyLABEL_c
<D, __, ?> label_c()
Creates a label element with no attributes then begins element content.select()
Opens a new select element.default __
select__()
Creates an empty select element with no attributes.select__
(IORunnableE<Ex> select) Creates a select element with no attributes and the given body.select__any
(IOConsumerE<? super AnySELECT__<D, __, ? extends AnySELECT__<D, __, ?>>, Ex> select) Creates a select element with no attributes and the given body.AnySELECT_c
<D, __, ?> select_c()
Creates a select element with no attributes then begins element content.AnyTEXTAREA
<D, __, ?, ?, ?> textarea()
Opens a new textarea element.default __
Creates an empty textarea element with no attributes.textarea__
(IORunnableE<Ex> textarea) Creates a textarea element with no attributes and the given body.default __
textarea__
(Object text) Creates a textarea element with no attributes and a text body.textarea__any
(IOConsumerE<? super AnyTEXTAREA__<D, __, ? extends AnyTEXTAREA__<D, __, ?>>, Ex> textarea) Creates a textarea element with no attributes and the given body.AnyTEXTAREA_c
<D, __, ?> Creates a textarea element with no attributes then begins element content.Methods inherited from interface com.aoapps.html.any.AnyUnion_Embedded_Interactive
audio, embed, iframe, img, img, img, object, object__, object__, object__any, object_c, video
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
-
a
Opens a new a element.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a tag.
- Throws:
IOException
-
a
Opens a new a element with the given href attribute.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a tag.
- Throws:
IOException
-
a
default <Ex extends Throwable> AnyA<D,__, a?, ?> (IOSupplierE<? extends String, Ex> href) throws IOException, ExOpens a new a element with the given href attribute.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a tag.
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
-
a__
Creates an a element with no attributes and the given body.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a 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
-
a__
Creates an a element with no attributes and the given body.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a 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
-
a__
Creates an a element with no attributes and a text body.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a tag.
Since
AnyTextContent
is not a part ofAnyUnion_Interactive_Phrasing
, strictly speaking text is not allowed in all possible content models that can apply to<a>
. However, since it is such a common operation, we've added it here.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IllegalStateException
- whentext != null
and current content model does not allow textIOException
-
a__
Creates an empty a element with no attributes.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a tag.
- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
a_c
Creates an a element with no attributes then begins element content.- See 4.5.1 The a element.
- See <a>: The Anchor element.
- See HTML a 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.
Due to limitations in Java generics, this content model does not directly reflect the parent content model, despite this being a transparent content model. Rather, it includes only the content model that always applies to this element type.
For the full, context-aware content model, which will likely include more elements, use the parent content model directly.
- Throws:
IOException
- See Also:
-
button
Deprecated.TODO: Implement buttonOpens a new button element.- Throws:
IOException
-
input
Specialized input implementations. -
label
Opens a new label element.- Throws:
IOException
-
label__
Creates a label 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
-
label__any
default <Ex extends Throwable> __ label__any(IOConsumerE<? super AnyLABEL__<D, __, throws IOException, Ex? extends AnyLABEL__<D, __, ?>>, Ex> label) Creates a label 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
-
label__
Creates a label element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
label__
Creates an empty label element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
label_c
Creates a label 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:
-
select
Opens a new select element.- Throws:
IOException
-
select__
Creates a select 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
-
select__any
default <Ex extends Throwable> __ select__any(IOConsumerE<? super AnySELECT__<D, __, throws IOException, Ex? extends AnySELECT__<D, __, ?>>, Ex> select) Creates a select 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
-
select__
Creates an empty select element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
select_c
Creates a select 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:
-
textarea
Opens a new textarea element.- Throws:
IOException
-
textarea__
Creates a textarea 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
-
textarea__any
default <Ex extends Throwable> __ textarea__any(IOConsumerE<? super AnyTEXTAREA__<D, __, throws IOException, Ex? extends AnyTEXTAREA__<D, __, ?>>, Ex> textarea) Creates a textarea 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
-
textarea__
Creates a textarea element with no attributes and a text body.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
textarea__
Creates an empty textarea element with no attributes.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
textarea_c
Creates a textarea 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:
-