Module com.aoapps.html.any
Package com.aoapps.html.any
Interface AnyMetadataContent<D extends AnyDocument<D>,__ extends AnyMetadataContent<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,
,__> AnyUnion_Metadata_Phrasing<D,
,__> Content<D,
,__> DocumentWriter
,Whitespace
- All Known Subinterfaces:
AnyContent<D,
__>
- All Known Implementing Classes:
AnyDocument
,AnyHEAD__
,AnyHEAD_c
public interface AnyMetadataContent<D extends AnyDocument<D>,__ extends AnyMetadataContent<D,__>>
extends AnyUnion_Metadata_Phrasing<D,__>
- See 3.2.5.2.1 Metadata content.
- See Metadata content.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Method Summary
Modifier and TypeMethodDescriptionbase()
Opens a new base element.default __
Shortcut to create a base with href only.style()
Opens a new style element.style
(AnySTYLE.Type type) Opens a new style element of the given type.style
(Suppliers.String<Ex> type) Opens a new style element of the given type.style
(IOSupplierE<? extends AnySTYLE.Type, Ex> type) Opens a new style element of the given type.Opens a new style element of the given type.title()
Opens a new title element.title__
(IORunnableE<Ex> title) Creates a title element with no attributes and the given body.default __
Creates a title element with no attributes and a text body.title__any
(IOConsumerE<? super AnyTITLE__<D, __, ? extends AnyTITLE__<D, __, ?>>, Ex> title) Creates a title element with no attributes and the given body.AnyTITLE_c
<D, __, ?> title_c()
Creates a title 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.AnyUnion_Metadata_Phrasing
link, link, meta, noscript
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
-
base
Opens a new base element.- Throws:
IOException
-
base__
Shortcut to create a base with href only.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
style
Opens a new style element.- Throws:
IOException
- See Also:
-
style
Opens a new style element of the given type.- Throws:
IOException
-
style
Opens a new style element of the given type.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
-
style
Opens a new style element of the given type.- Throws:
IOException
-
style
<Ex extends Throwable> AnySTYLE<D,__, style?> (IOSupplierE<? extends AnySTYLE.Type, Ex> type) throws IOException, ExOpens a new style element of the given type.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
-
title
Opens a new title element.- Throws:
IOException
-
title__
Creates a title 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
-
title__any
default <Ex extends Throwable> __ title__any(IOConsumerE<? super AnyTITLE__<D, __, throws IOException, Ex? extends AnyTITLE__<D, __, ?>>, Ex> title) Creates a title 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
-
title__
Creates a title element with no attributes and a text body. TODO: Supports translation markup typeMarkupType.TEXT
.- Returns:
- This content model, which will be the parent content model of child elements
- Throws:
IOException
-
title_c
Creates a title 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:
-