Interface ElementTextMethods<E extends Element, B extends TypedBuilder<E,B>>

All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
All Known Subinterfaces:
ElementTextDelegate<E,B>
All Known Implementing Classes:
HTMLContainerBuilder, HTMLElementBuilder, HTMLInputElementBuilder, HTMLSelectElementBuilder, HTMLTextAreaElementBuilder, Link, MathMLContainerMethods, MathMLElementBuilder, SVGContainerBuilder, SVGElementBuilder

public interface ElementTextMethods<E extends Element, B extends TypedBuilder<E,B>> extends TypedBuilder<E,B>, IsElement<E>
Provides methods and default implementations for modifying the text of an element.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Retrieves the text content of the element.
    default B
    text(String text)
    Sets the text content on the element using Node.textContent.

    Methods inherited from interface IsElement

    element

    Methods inherited from interface TypedBuilder

    that