public interface HTMLRootElement extends ParagraphElement
TYPE_NONE
Modifier and Type | Method and Description |
---|---|
default void |
addRoot(HTMLNode root)
Add a root.
|
default java.lang.String |
getRawHTMLContent()
Return the raw HTML content.
|
java.util.List<HTMLNode> |
getRoots()
Return the root Nodes.
|
default boolean |
hasRawHTMLContent()
Return true if the HTMLRootElement has raw html content.
|
default boolean |
hasRoots()
Return true if the HTMLRootElement has roots.
|
default boolean |
isEmpty()
Return true if the list of roots is empty.
|
getCustomStyles, getDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
java.util.List<HTMLNode> getRoots()
default boolean hasRoots()
default java.lang.String getRawHTMLContent()
default boolean hasRawHTMLContent()
default void addRoot(HTMLNode root)
root
- the rootdefault boolean isEmpty()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence