Uses of Class
dev.jcputney.mjml.css.HtmlElement
Packages that use HtmlElement
-
Uses of HtmlElement in dev.jcputney.mjml.css
Methods in dev.jcputney.mjml.css that return HtmlElementModifier and TypeMethodDescriptionHtmlElement.getParent()Returns the parent element, ornullif this is the root element.static HtmlElementParses HTML into an element tree rooted at a virtual document element.HtmlElement.previousSibling()Returns the previous sibling element, or null if this is the first child.Methods in dev.jcputney.mjml.css that return types with arguments of type HtmlElementModifier and TypeMethodDescriptionHtmlElement.allDescendants()Returns all descendant elements in document order (depth-first).HtmlElement.getChildren()Returns the list of child elements.Methods in dev.jcputney.mjml.css with parameters of type HtmlElementModifier and TypeMethodDescriptionvoidHtmlElement.addChild(HtmlElement child) Adds a child element to this element, setting its parent reference and caching its index.static StringCssInliner.inlineAdditionalOnly(String html, HtmlElement root, String css) Inlines only the provided CSS into HTML elements' style attributes using a pre-parsed element tree, avoiding redundant HTML re-parsing when the tree is already available.booleanHtmlElement.isDescendantOf(HtmlElement ancestor) Checks if this element is a descendant of the given ancestor.static booleanCssSelectorMatcher.matches(CssSelector selector, HtmlElement element) Tests whether the given selector matches the given element.