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

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

public interface ElementIdMethods<E extends Element, B extends TypedBuilder<E,B>> extends TypedBuilder<E,B>, IsElement<E>
Provides methods and default implementations for modifying element IDs.
  • Method Summary

    Modifier and Type
    Method
    Description
    default B
    id(String id)
    Sets the id on the element.
    default B
    Generates and sets a unique id on the element.

    Methods inherited from interface IsElement

    element

    Methods inherited from interface TypedBuilder

    that
  • Method Details

    • uniqueId

      default B uniqueId()
      Generates and sets a unique id on the element.
    • id

      default B id(String id)
      Sets the id on the element.