Interface DomAttributes

All Known Implementing Classes:
DomElement

@DraftDocs("longer summary, non-default methods") @NoTests public interface DomAttributes
Strongly typed attribute setters and getters.
  • Method Details

    • set

      DomElement set(String name, String value)
    • set

      DomElement set(String name, boolean value)
    • set

      DomElement set(String name)
    • set

      DomElement set(String name, int value)
    • set

      DomElement set(String name, double value)
    • set

      DomElement set(DomAttribute attribute)
    • unset

      DomElement unset(String name)
    • attributes

      List<DomAttribute> attributes()
    • attribute

      DomAttribute attribute(String name)
    • attributeAsString

      String attributeAsString(String name)
    • attributeAsBoolean

      boolean attributeAsBoolean(String name)
    • attributeAsInt

      OptionalInt attributeAsInt(String name)
    • attributeAsDouble

      OptionalDouble attributeAsDouble(String name)
    • clazz

      default DomElement clazz(String... classes)
      Sets class attribute to an array of values. Array items are joined with spaces and the attribute is set to the resulting string. If classes is null or empty, the attribute is removed.
      Parameters:
      classes - list of classes
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • data

      default DomElement data(String key, String value)
      Sets data-* attribute. If value is null, the attribute is removed.
      Parameters:
      key - unprefixed name of the attribute, e.g. key hello for attribute data-hello
      value - new value of the data-* attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
      NullPointerException - if the key is null
    • data

      default String data(String key)
      Gets data-* attribute.
      Parameters:
      key - unprefixed name of the attribute, e.g. key hello for attribute data-hello
      Returns:
      value of the data-* attribute or null if the attribute is missing
      Throws:
      NullPointerException - if the key is null
    • accept

      default DomElement accept(String value)
      Sets HTML attribute accept. If value is null, the attribute is removed.
      Parameters:
      value - new value of the accept attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • accept

      default String accept()
      Gets HTML attribute accept.
      Returns:
      value of the accept attribute or null if the attribute is missing
    • acceptCharset

      default DomElement acceptCharset(String value)
      Sets HTML attribute accept-charset. If value is null, the attribute is removed.
      Parameters:
      value - new value of the accept-charset attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • acceptCharset

      default String acceptCharset()
      Gets HTML attribute accept-charset.
      Returns:
      value of the accept-charset attribute or null if the attribute is missing
    • accesskey

      default DomElement accesskey(String value)
      Sets HTML attribute accesskey. If value is null, the attribute is removed.
      Parameters:
      value - new value of the accesskey attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • accesskey

      default String accesskey()
      Gets HTML attribute accesskey.
      Returns:
      value of the accesskey attribute or null if the attribute is missing
    • accumulate

      default DomElement accumulate(String value)
      Sets SVG attribute accumulate. If value is null, the attribute is removed.
      Parameters:
      value - new value of the accumulate attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • accumulate

      default String accumulate()
      Gets SVG attribute accumulate.
      Returns:
      value of the accumulate attribute or null if the attribute is missing
    • action

      default DomElement action(String value)
      Sets HTML attribute action. If value is null, the attribute is removed.
      Parameters:
      value - new value of the action attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • action

      default String action()
      Gets HTML attribute action.
      Returns:
      value of the action attribute or null if the attribute is missing
    • additive

      default DomElement additive(String value)
      Sets SVG attribute additive. If value is null, the attribute is removed.
      Parameters:
      value - new value of the additive attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • additive

      default String additive()
      Gets SVG attribute additive.
      Returns:
      value of the additive attribute or null if the attribute is missing
    • alignmentBaseline

      default DomElement alignmentBaseline(String value)
      Sets SVG attribute alignment-baseline. If value is null, the attribute is removed.
      Parameters:
      value - new value of the alignment-baseline attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • alignmentBaseline

      default String alignmentBaseline()
      Gets SVG attribute alignment-baseline.
      Returns:
      value of the alignment-baseline attribute or null if the attribute is missing
    • allowfullscreen

      default DomElement allowfullscreen(String value)
      Sets HTML attribute allowfullscreen. If value is null, the attribute is removed.
      Parameters:
      value - new value of the allowfullscreen attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • allowfullscreen

      default String allowfullscreen()
      Gets HTML attribute allowfullscreen.
      Returns:
      value of the allowfullscreen attribute or null if the attribute is missing
    • alt

      default DomElement alt(String value)
      Sets HTML attribute alt. If value is null, the attribute is removed.
      Parameters:
      value - new value of the alt attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • alt

      default String alt()
      Gets HTML attribute alt.
      Returns:
      value of the alt attribute or null if the attribute is missing
    • amplitude

      default DomElement amplitude(String value)
      Sets SVG attribute amplitude. If value is null, the attribute is removed.
      Parameters:
      value - new value of the amplitude attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • amplitude

      default String amplitude()
      Gets SVG attribute amplitude.
      Returns:
      value of the amplitude attribute or null if the attribute is missing
    • amplitude

      default DomElement amplitude(double value)
      Sets SVG attribute amplitude to a floating-point value.
      Parameters:
      value - new value of the amplitude attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • amplitudeAsDouble

      default OptionalDouble amplitudeAsDouble()
      Gets SVG attribute amplitude as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • async

      default DomElement async()
      Adds boolean HTML attribute async. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • async

      default DomElement async(boolean present)
      Adds or removes boolean HTML attribute async.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • asyncAsBoolean

      default boolean asyncAsBoolean()
      Gets boolean HTML attribute async.
      Returns:
      value of the async attribute or null if the attribute is missing
    • attributeName

      default DomElement attributeName(String value)
      Sets SVG attribute attributeName. If value is null, the attribute is removed.
      Parameters:
      value - new value of the attributeName attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • attributeName

      default String attributeName()
      Gets SVG attribute attributeName.
      Returns:
      value of the attributeName attribute or null if the attribute is missing
    • attributeType

      default DomElement attributeType(String value)
      Sets SVG attribute attributeType. If value is null, the attribute is removed.
      Parameters:
      value - new value of the attributeType attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • attributeType

      default String attributeType()
      Gets SVG attribute attributeType.
      Returns:
      value of the attributeType attribute or null if the attribute is missing
    • autocapitalize

      default DomElement autocapitalize(String value)
      Sets HTML attribute autocapitalize. If value is null, the attribute is removed.
      Parameters:
      value - new value of the autocapitalize attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autocapitalize

      default String autocapitalize()
      Gets HTML attribute autocapitalize.
      Returns:
      value of the autocapitalize attribute or null if the attribute is missing
    • autocomplete

      default DomElement autocomplete(String value)
      Sets HTML attribute autocomplete. If value is null, the attribute is removed.
      Parameters:
      value - new value of the autocomplete attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autocomplete

      default String autocomplete()
      Gets HTML attribute autocomplete.
      Returns:
      value of the autocomplete attribute or null if the attribute is missing
    • autofocus

      default DomElement autofocus()
      Adds boolean HTML attribute autofocus. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autofocus

      default DomElement autofocus(boolean present)
      Adds or removes boolean HTML attribute autofocus.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autofocusAsBoolean

      default boolean autofocusAsBoolean()
      Gets boolean HTML attribute autofocus.
      Returns:
      value of the autofocus attribute or null if the attribute is missing
    • autoplay

      default DomElement autoplay()
      Adds boolean HTML attribute autoplay. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autoplay

      default DomElement autoplay(boolean present)
      Adds or removes boolean HTML attribute autoplay.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • autoplayAsBoolean

      default boolean autoplayAsBoolean()
      Gets boolean HTML attribute autoplay.
      Returns:
      value of the autoplay attribute or null if the attribute is missing
    • azimuth

      default DomElement azimuth(String value)
      Sets SVG attribute azimuth. If value is null, the attribute is removed.
      Parameters:
      value - new value of the azimuth attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • azimuth

      default String azimuth()
      Gets SVG attribute azimuth.
      Returns:
      value of the azimuth attribute or null if the attribute is missing
    • azimuth

      default DomElement azimuth(double value)
      Sets SVG attribute azimuth to a floating-point value.
      Parameters:
      value - new value of the azimuth attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • azimuthAsDouble

      default OptionalDouble azimuthAsDouble()
      Gets SVG attribute azimuth as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • baseFrequency

      default DomElement baseFrequency(String value)
      Sets SVG attribute baseFrequency. If value is null, the attribute is removed.
      Parameters:
      value - new value of the baseFrequency attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • baseFrequency

      default String baseFrequency()
      Gets SVG attribute baseFrequency.
      Returns:
      value of the baseFrequency attribute or null if the attribute is missing
    • baseFrequency

      default DomElement baseFrequency(double value)
      Sets SVG attribute baseFrequency to a floating-point value.
      Parameters:
      value - new value of the baseFrequency attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • baseFrequencyAsDouble

      default OptionalDouble baseFrequencyAsDouble()
      Gets SVG attribute baseFrequency as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • baselineShift

      default DomElement baselineShift(String value)
      Sets SVG attribute baseline-shift. If value is null, the attribute is removed.
      Parameters:
      value - new value of the baseline-shift attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • baselineShift

      default String baselineShift()
      Gets SVG attribute baseline-shift.
      Returns:
      value of the baseline-shift attribute or null if the attribute is missing
    • baselineShift

      default DomElement baselineShift(double value)
      Sets SVG attribute baseline-shift to a floating-point value.
      Parameters:
      value - new value of the baseline-shift attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • baselineShiftAsDouble

      default OptionalDouble baselineShiftAsDouble()
      Gets SVG attribute baseline-shift as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • begin

      default DomElement begin(String value)
      Sets SVG attribute begin. If value is null, the attribute is removed.
      Parameters:
      value - new value of the begin attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • begin

      default String begin()
      Gets SVG attribute begin.
      Returns:
      value of the begin attribute or null if the attribute is missing
    • bias

      default DomElement bias(String value)
      Sets SVG attribute bias. If value is null, the attribute is removed.
      Parameters:
      value - new value of the bias attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • bias

      default String bias()
      Gets SVG attribute bias.
      Returns:
      value of the bias attribute or null if the attribute is missing
    • bias

      default DomElement bias(double value)
      Sets SVG attribute bias to a floating-point value.
      Parameters:
      value - new value of the bias attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • biasAsDouble

      default OptionalDouble biasAsDouble()
      Gets SVG attribute bias as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • calcMode

      default DomElement calcMode(String value)
      Sets SVG attribute calcMode. If value is null, the attribute is removed.
      Parameters:
      value - new value of the calcMode attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • calcMode

      default String calcMode()
      Gets SVG attribute calcMode.
      Returns:
      value of the calcMode attribute or null if the attribute is missing
    • charset

      default DomElement charset(String value)
      Sets HTML attribute charset. If value is null, the attribute is removed.
      Parameters:
      value - new value of the charset attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • charset

      default String charset()
      Gets HTML attribute charset.
      Returns:
      value of the charset attribute or null if the attribute is missing
    • checked

      default DomElement checked()
      Adds boolean HTML attribute checked. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • checked

      default DomElement checked(boolean present)
      Adds or removes boolean HTML attribute checked.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • checkedAsBoolean

      default boolean checkedAsBoolean()
      Gets boolean HTML attribute checked.
      Returns:
      value of the checked attribute or null if the attribute is missing
    • cite

      default DomElement cite(String value)
      Sets HTML attribute cite. If value is null, the attribute is removed.
      Parameters:
      value - new value of the cite attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cite

      default String cite()
      Gets HTML attribute cite.
      Returns:
      value of the cite attribute or null if the attribute is missing
    • clazz

      default DomElement clazz(String value)
      Sets HTML/SVG attribute class. If value is null, the attribute is removed.
      Parameters:
      value - new value of the class attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • clazz

      default String clazz()
      Gets HTML/SVG attribute class.
      Returns:
      value of the class attribute or null if the attribute is missing
    • clipPath

      default DomElement clipPath(String value)
      Sets SVG attribute clip-path. If value is null, the attribute is removed.
      Parameters:
      value - new value of the clip-path attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • clipPath

      default String clipPath()
      Gets SVG attribute clip-path.
      Returns:
      value of the clip-path attribute or null if the attribute is missing
    • clipRule

      default DomElement clipRule(String value)
      Sets SVG attribute clip-rule. If value is null, the attribute is removed.
      Parameters:
      value - new value of the clip-rule attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • clipRule

      default String clipRule()
      Gets SVG attribute clip-rule.
      Returns:
      value of the clip-rule attribute or null if the attribute is missing
    • clipPathUnits

      default DomElement clipPathUnits(String value)
      Sets SVG attribute clipPathUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the clipPathUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • clipPathUnits

      default String clipPathUnits()
      Gets SVG attribute clipPathUnits.
      Returns:
      value of the clipPathUnits attribute or null if the attribute is missing
    • color

      default DomElement color(String value)
      Sets SVG attribute color. If value is null, the attribute is removed.
      Parameters:
      value - new value of the color attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • color

      default String color()
      Gets SVG attribute color.
      Returns:
      value of the color attribute or null if the attribute is missing
    • colorInterpolation

      default DomElement colorInterpolation(String value)
      Sets SVG attribute color-interpolation. If value is null, the attribute is removed.
      Parameters:
      value - new value of the color-interpolation attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colorInterpolation

      default String colorInterpolation()
      Gets SVG attribute color-interpolation.
      Returns:
      value of the color-interpolation attribute or null if the attribute is missing
    • colorInterpolationFilters

      default DomElement colorInterpolationFilters(String value)
      Sets SVG attribute color-interpolation-filters. If value is null, the attribute is removed.
      Parameters:
      value - new value of the color-interpolation-filters attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colorInterpolationFilters

      default String colorInterpolationFilters()
      Gets SVG attribute color-interpolation-filters.
      Returns:
      value of the color-interpolation-filters attribute or null if the attribute is missing
    • colorProfile

      default DomElement colorProfile(String value)
      Sets SVG attribute color-profile. If value is null, the attribute is removed.
      Parameters:
      value - new value of the color-profile attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colorProfile

      default String colorProfile()
      Gets SVG attribute color-profile.
      Returns:
      value of the color-profile attribute or null if the attribute is missing
    • colorRendering

      default DomElement colorRendering(String value)
      Sets SVG attribute color-rendering. If value is null, the attribute is removed.
      Parameters:
      value - new value of the color-rendering attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colorRendering

      default String colorRendering()
      Gets SVG attribute color-rendering.
      Returns:
      value of the color-rendering attribute or null if the attribute is missing
    • cols

      default DomElement cols(String value)
      Sets HTML attribute cols. If value is null, the attribute is removed.
      Parameters:
      value - new value of the cols attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cols

      default String cols()
      Gets HTML attribute cols.
      Returns:
      value of the cols attribute or null if the attribute is missing
    • cols

      default DomElement cols(int value)
      Sets HTML attribute cols to an integer value.
      Parameters:
      value - new value of the cols attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colsAsInt

      default OptionalInt colsAsInt()
      Gets HTML attribute cols as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • colspan

      default DomElement colspan(String value)
      Sets HTML attribute colspan. If value is null, the attribute is removed.
      Parameters:
      value - new value of the colspan attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colspan

      default String colspan()
      Gets HTML attribute colspan.
      Returns:
      value of the colspan attribute or null if the attribute is missing
    • colspan

      default DomElement colspan(int value)
      Sets HTML attribute colspan to an integer value.
      Parameters:
      value - new value of the colspan attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • colspanAsInt

      default OptionalInt colspanAsInt()
      Gets HTML attribute colspan as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • content

      default DomElement content(String value)
      Sets HTML attribute content. If value is null, the attribute is removed.
      Parameters:
      value - new value of the content attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • content

      default String content()
      Gets HTML attribute content.
      Returns:
      value of the content attribute or null if the attribute is missing
    • contenteditable

      default DomElement contenteditable(String value)
      Sets HTML attribute contenteditable. If value is null, the attribute is removed.
      Parameters:
      value - new value of the contenteditable attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • contenteditable

      default String contenteditable()
      Gets HTML attribute contenteditable.
      Returns:
      value of the contenteditable attribute or null if the attribute is missing
    • contextmenu

      default DomElement contextmenu(String value)
      Sets HTML attribute contextmenu. If value is null, the attribute is removed.
      Parameters:
      value - new value of the contextmenu attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • contextmenu

      default String contextmenu()
      Gets HTML attribute contextmenu.
      Returns:
      value of the contextmenu attribute or null if the attribute is missing
    • controls

      default DomElement controls()
      Adds boolean HTML attribute controls. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • controls

      default DomElement controls(boolean present)
      Adds or removes boolean HTML attribute controls.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • controlsAsBoolean

      default boolean controlsAsBoolean()
      Gets boolean HTML attribute controls.
      Returns:
      value of the controls attribute or null if the attribute is missing
    • coords

      default DomElement coords(String value)
      Sets HTML attribute coords. If value is null, the attribute is removed.
      Parameters:
      value - new value of the coords attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • coords

      default String coords()
      Gets HTML attribute coords.
      Returns:
      value of the coords attribute or null if the attribute is missing
    • crossorigin

      default DomElement crossorigin(String value)
      Sets HTML attribute crossorigin. If value is null, the attribute is removed.
      Parameters:
      value - new value of the crossorigin attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • crossorigin

      default String crossorigin()
      Gets HTML attribute crossorigin.
      Returns:
      value of the crossorigin attribute or null if the attribute is missing
    • cursor

      default DomElement cursor(String value)
      Sets SVG attribute cursor. If value is null, the attribute is removed.
      Parameters:
      value - new value of the cursor attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cursor

      default String cursor()
      Gets SVG attribute cursor.
      Returns:
      value of the cursor attribute or null if the attribute is missing
    • cx

      default DomElement cx(String value)
      Sets SVG attribute cx. If value is null, the attribute is removed.
      Parameters:
      value - new value of the cx attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cx

      default String cx()
      Gets SVG attribute cx.
      Returns:
      value of the cx attribute or null if the attribute is missing
    • cx

      default DomElement cx(double value)
      Sets SVG attribute cx to a floating-point value.
      Parameters:
      value - new value of the cx attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cxAsDouble

      default OptionalDouble cxAsDouble()
      Gets SVG attribute cx as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • cy

      default DomElement cy(String value)
      Sets SVG attribute cy. If value is null, the attribute is removed.
      Parameters:
      value - new value of the cy attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cy

      default String cy()
      Gets SVG attribute cy.
      Returns:
      value of the cy attribute or null if the attribute is missing
    • cy

      default DomElement cy(double value)
      Sets SVG attribute cy to a floating-point value.
      Parameters:
      value - new value of the cy attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • cyAsDouble

      default OptionalDouble cyAsDouble()
      Gets SVG attribute cy as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • d

      default DomElement d(String value)
      Sets SVG attribute d. If value is null, the attribute is removed.
      Parameters:
      value - new value of the d attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • d

      default String d()
      Gets SVG attribute d.
      Returns:
      value of the d attribute or null if the attribute is missing
    • plaindata

      default DomElement plaindata(String value)
      Sets HTML attribute data. If value is null, the attribute is removed.
      Parameters:
      value - new value of the data attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • plaindata

      default String plaindata()
      Gets HTML attribute data.
      Returns:
      value of the data attribute or null if the attribute is missing
    • datetime

      default DomElement datetime(String value)
      Sets HTML attribute datetime. If value is null, the attribute is removed.
      Parameters:
      value - new value of the datetime attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • datetime

      default String datetime()
      Gets HTML attribute datetime.
      Returns:
      value of the datetime attribute or null if the attribute is missing
    • defaults

      default DomElement defaults()
      Adds boolean HTML attribute default. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • defaults

      default DomElement defaults(boolean present)
      Adds or removes boolean HTML attribute default.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • defaultsAsBoolean

      default boolean defaultsAsBoolean()
      Gets boolean HTML attribute default.
      Returns:
      value of the default attribute or null if the attribute is missing
    • defer

      default DomElement defer()
      Adds boolean HTML attribute defer. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • defer

      default DomElement defer(boolean present)
      Adds or removes boolean HTML attribute defer.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • deferAsBoolean

      default boolean deferAsBoolean()
      Gets boolean HTML attribute defer.
      Returns:
      value of the defer attribute or null if the attribute is missing
    • diffuseConstant

      default DomElement diffuseConstant(String value)
      Sets SVG attribute diffuseConstant. If value is null, the attribute is removed.
      Parameters:
      value - new value of the diffuseConstant attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • diffuseConstant

      default String diffuseConstant()
      Gets SVG attribute diffuseConstant.
      Returns:
      value of the diffuseConstant attribute or null if the attribute is missing
    • diffuseConstant

      default DomElement diffuseConstant(double value)
      Sets SVG attribute diffuseConstant to a floating-point value.
      Parameters:
      value - new value of the diffuseConstant attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • diffuseConstantAsDouble

      default OptionalDouble diffuseConstantAsDouble()
      Gets SVG attribute diffuseConstant as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • dir

      default DomElement dir(String value)
      Sets HTML attribute dir. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dir attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dir

      default String dir()
      Gets HTML attribute dir.
      Returns:
      value of the dir attribute or null if the attribute is missing
    • direction

      default DomElement direction(String value)
      Sets SVG attribute direction. If value is null, the attribute is removed.
      Parameters:
      value - new value of the direction attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • direction

      default String direction()
      Gets SVG attribute direction.
      Returns:
      value of the direction attribute or null if the attribute is missing
    • disabled

      default DomElement disabled()
      Adds boolean HTML attribute disabled. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • disabled

      default DomElement disabled(boolean present)
      Adds or removes boolean HTML attribute disabled.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • disabledAsBoolean

      default boolean disabledAsBoolean()
      Gets boolean HTML attribute disabled.
      Returns:
      value of the disabled attribute or null if the attribute is missing
    • display

      default DomElement display(String value)
      Sets SVG attribute display. If value is null, the attribute is removed.
      Parameters:
      value - new value of the display attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • display

      default String display()
      Gets SVG attribute display.
      Returns:
      value of the display attribute or null if the attribute is missing
    • divisor

      default DomElement divisor(String value)
      Sets SVG attribute divisor. If value is null, the attribute is removed.
      Parameters:
      value - new value of the divisor attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • divisor

      default String divisor()
      Gets SVG attribute divisor.
      Returns:
      value of the divisor attribute or null if the attribute is missing
    • divisor

      default DomElement divisor(double value)
      Sets SVG attribute divisor to a floating-point value.
      Parameters:
      value - new value of the divisor attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • divisorAsDouble

      default OptionalDouble divisorAsDouble()
      Gets SVG attribute divisor as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • dominantBaseline

      default DomElement dominantBaseline(String value)
      Sets SVG attribute dominant-baseline. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dominant-baseline attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dominantBaseline

      default String dominantBaseline()
      Gets SVG attribute dominant-baseline.
      Returns:
      value of the dominant-baseline attribute or null if the attribute is missing
    • download

      default DomElement download()
      Adds boolean HTML attribute download. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • download

      default DomElement download(boolean present)
      Adds or removes boolean HTML attribute download.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • downloadAsBoolean

      default boolean downloadAsBoolean()
      Gets boolean HTML attribute download.
      Returns:
      value of the download attribute or null if the attribute is missing
    • draggable

      default DomElement draggable(String value)
      Sets HTML attribute draggable. If value is null, the attribute is removed.
      Parameters:
      value - new value of the draggable attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • draggable

      default String draggable()
      Gets HTML attribute draggable.
      Returns:
      value of the draggable attribute or null if the attribute is missing
    • dropzone

      default DomElement dropzone(String value)
      Sets HTML attribute dropzone. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dropzone attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dropzone

      default String dropzone()
      Gets HTML attribute dropzone.
      Returns:
      value of the dropzone attribute or null if the attribute is missing
    • dur

      default DomElement dur(String value)
      Sets SVG attribute dur. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dur attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dur

      default String dur()
      Gets SVG attribute dur.
      Returns:
      value of the dur attribute or null if the attribute is missing
    • dx

      default DomElement dx(String value)
      Sets SVG attribute dx. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dx attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dx

      default String dx()
      Gets SVG attribute dx.
      Returns:
      value of the dx attribute or null if the attribute is missing
    • dx

      default DomElement dx(double value)
      Sets SVG attribute dx to a floating-point value.
      Parameters:
      value - new value of the dx attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dxAsDouble

      default OptionalDouble dxAsDouble()
      Gets SVG attribute dx as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • dy

      default DomElement dy(String value)
      Sets SVG attribute dy. If value is null, the attribute is removed.
      Parameters:
      value - new value of the dy attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dy

      default String dy()
      Gets SVG attribute dy.
      Returns:
      value of the dy attribute or null if the attribute is missing
    • dy

      default DomElement dy(double value)
      Sets SVG attribute dy to a floating-point value.
      Parameters:
      value - new value of the dy attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • dyAsDouble

      default OptionalDouble dyAsDouble()
      Gets SVG attribute dy as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • edgeMode

      default DomElement edgeMode(String value)
      Sets SVG attribute edgeMode. If value is null, the attribute is removed.
      Parameters:
      value - new value of the edgeMode attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • edgeMode

      default String edgeMode()
      Gets SVG attribute edgeMode.
      Returns:
      value of the edgeMode attribute or null if the attribute is missing
    • elevation

      default DomElement elevation(String value)
      Sets SVG attribute elevation. If value is null, the attribute is removed.
      Parameters:
      value - new value of the elevation attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • elevation

      default String elevation()
      Gets SVG attribute elevation.
      Returns:
      value of the elevation attribute or null if the attribute is missing
    • elevation

      default DomElement elevation(double value)
      Sets SVG attribute elevation to a floating-point value.
      Parameters:
      value - new value of the elevation attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • elevationAsDouble

      default OptionalDouble elevationAsDouble()
      Gets SVG attribute elevation as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • enctype

      default DomElement enctype(String value)
      Sets HTML attribute enctype. If value is null, the attribute is removed.
      Parameters:
      value - new value of the enctype attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • enctype

      default String enctype()
      Gets HTML attribute enctype.
      Returns:
      value of the enctype attribute or null if the attribute is missing
    • end

      default DomElement end(String value)
      Sets SVG attribute end. If value is null, the attribute is removed.
      Parameters:
      value - new value of the end attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • end

      default String end()
      Gets SVG attribute end.
      Returns:
      value of the end attribute or null if the attribute is missing
    • externalResourcesRequired

      default DomElement externalResourcesRequired(String value)
      Sets SVG attribute externalResourcesRequired. If value is null, the attribute is removed.
      Parameters:
      value - new value of the externalResourcesRequired attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • externalResourcesRequired

      default String externalResourcesRequired()
      Gets SVG attribute externalResourcesRequired.
      Returns:
      value of the externalResourcesRequired attribute or null if the attribute is missing
    • fill

      default DomElement fill(String value)
      Sets SVG attribute fill. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fill attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fill

      default String fill()
      Gets SVG attribute fill.
      Returns:
      value of the fill attribute or null if the attribute is missing
    • fillOpacity

      default DomElement fillOpacity(String value)
      Sets SVG attribute fill-opacity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fill-opacity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fillOpacity

      default String fillOpacity()
      Gets SVG attribute fill-opacity.
      Returns:
      value of the fill-opacity attribute or null if the attribute is missing
    • fillOpacity

      default DomElement fillOpacity(double value)
      Sets SVG attribute fill-opacity to a floating-point value.
      Parameters:
      value - new value of the fill-opacity attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fillOpacityAsDouble

      default OptionalDouble fillOpacityAsDouble()
      Gets SVG attribute fill-opacity as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • fillRule

      default DomElement fillRule(String value)
      Sets SVG attribute fill-rule. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fill-rule attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fillRule

      default String fillRule()
      Gets SVG attribute fill-rule.
      Returns:
      value of the fill-rule attribute or null if the attribute is missing
    • filter

      default DomElement filter(String value)
      Sets SVG attribute filter. If value is null, the attribute is removed.
      Parameters:
      value - new value of the filter attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • filter

      default String filter()
      Gets SVG attribute filter.
      Returns:
      value of the filter attribute or null if the attribute is missing
    • filterUnits

      default DomElement filterUnits(String value)
      Sets SVG attribute filterUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the filterUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • filterUnits

      default String filterUnits()
      Gets SVG attribute filterUnits.
      Returns:
      value of the filterUnits attribute or null if the attribute is missing
    • floodColor

      default DomElement floodColor(String value)
      Sets SVG attribute flood-color. If value is null, the attribute is removed.
      Parameters:
      value - new value of the flood-color attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • floodColor

      default String floodColor()
      Gets SVG attribute flood-color.
      Returns:
      value of the flood-color attribute or null if the attribute is missing
    • floodOpacity

      default DomElement floodOpacity(String value)
      Sets SVG attribute flood-opacity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the flood-opacity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • floodOpacity

      default String floodOpacity()
      Gets SVG attribute flood-opacity.
      Returns:
      value of the flood-opacity attribute or null if the attribute is missing
    • floodOpacity

      default DomElement floodOpacity(double value)
      Sets SVG attribute flood-opacity to a floating-point value.
      Parameters:
      value - new value of the flood-opacity attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • floodOpacityAsDouble

      default OptionalDouble floodOpacityAsDouble()
      Gets SVG attribute flood-opacity as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • fontFamily

      default DomElement fontFamily(String value)
      Sets SVG attribute font-family. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-family attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontFamily

      default String fontFamily()
      Gets SVG attribute font-family.
      Returns:
      value of the font-family attribute or null if the attribute is missing
    • fontSize

      default DomElement fontSize(String value)
      Sets SVG attribute font-size. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-size attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontSize

      default String fontSize()
      Gets SVG attribute font-size.
      Returns:
      value of the font-size attribute or null if the attribute is missing
    • fontSizeAdjust

      default DomElement fontSizeAdjust(String value)
      Sets SVG attribute font-size-adjust. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-size-adjust attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontSizeAdjust

      default String fontSizeAdjust()
      Gets SVG attribute font-size-adjust.
      Returns:
      value of the font-size-adjust attribute or null if the attribute is missing
    • fontSizeAdjust

      default DomElement fontSizeAdjust(double value)
      Sets SVG attribute font-size-adjust to a floating-point value.
      Parameters:
      value - new value of the font-size-adjust attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontSizeAdjustAsDouble

      default OptionalDouble fontSizeAdjustAsDouble()
      Gets SVG attribute font-size-adjust as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • fontStretch

      default DomElement fontStretch(String value)
      Sets SVG attribute font-stretch. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-stretch attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontStretch

      default String fontStretch()
      Gets SVG attribute font-stretch.
      Returns:
      value of the font-stretch attribute or null if the attribute is missing
    • fontVariant

      default DomElement fontVariant(String value)
      Sets SVG attribute font-variant. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-variant attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontVariant

      default String fontVariant()
      Gets SVG attribute font-variant.
      Returns:
      value of the font-variant attribute or null if the attribute is missing
    • fontWeight

      default DomElement fontWeight(String value)
      Sets SVG attribute font-weight. If value is null, the attribute is removed.
      Parameters:
      value - new value of the font-weight attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontWeight

      default String fontWeight()
      Gets SVG attribute font-weight.
      Returns:
      value of the font-weight attribute or null if the attribute is missing
    • fontWeight

      default DomElement fontWeight(int value)
      Sets SVG attribute font-weight to an integer value.
      Parameters:
      value - new value of the font-weight attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fontWeightAsInt

      default OptionalInt fontWeightAsInt()
      Gets SVG attribute font-weight as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • forid

      default DomElement forid(String value)
      Sets HTML attribute for. If value is null, the attribute is removed.
      Parameters:
      value - new value of the for attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • forid

      default String forid()
      Gets HTML attribute for.
      Returns:
      value of the for attribute or null if the attribute is missing
    • form

      default DomElement form(String value)
      Sets HTML attribute form. If value is null, the attribute is removed.
      Parameters:
      value - new value of the form attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • form

      default String form()
      Gets HTML attribute form.
      Returns:
      value of the form attribute or null if the attribute is missing
    • formaction

      default DomElement formaction(String value)
      Sets HTML attribute formaction. If value is null, the attribute is removed.
      Parameters:
      value - new value of the formaction attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • formaction

      default String formaction()
      Gets HTML attribute formaction.
      Returns:
      value of the formaction attribute or null if the attribute is missing
    • formmethod

      default DomElement formmethod(String value)
      Sets HTML attribute formmethod. If value is null, the attribute is removed.
      Parameters:
      value - new value of the formmethod attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • formmethod

      default String formmethod()
      Gets HTML attribute formmethod.
      Returns:
      value of the formmethod attribute or null if the attribute is missing
    • formnovalidate

      default DomElement formnovalidate()
      Adds boolean HTML attribute formnovalidate. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • formnovalidate

      default DomElement formnovalidate(boolean present)
      Adds or removes boolean HTML attribute formnovalidate.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • formnovalidateAsBoolean

      default boolean formnovalidateAsBoolean()
      Gets boolean HTML attribute formnovalidate.
      Returns:
      value of the formnovalidate attribute or null if the attribute is missing
    • formtarget

      default DomElement formtarget(String value)
      Sets HTML attribute formtarget. If value is null, the attribute is removed.
      Parameters:
      value - new value of the formtarget attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • formtarget

      default String formtarget()
      Gets HTML attribute formtarget.
      Returns:
      value of the formtarget attribute or null if the attribute is missing
    • fr

      default DomElement fr(String value)
      Sets SVG attribute fr. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fr attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fr

      default String fr()
      Gets SVG attribute fr.
      Returns:
      value of the fr attribute or null if the attribute is missing
    • fr

      default DomElement fr(double value)
      Sets SVG attribute fr to a floating-point value.
      Parameters:
      value - new value of the fr attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • frAsDouble

      default OptionalDouble frAsDouble()
      Gets SVG attribute fr as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • from

      default DomElement from(String value)
      Sets SVG attribute from. If value is null, the attribute is removed.
      Parameters:
      value - new value of the from attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • from

      default String from()
      Gets SVG attribute from.
      Returns:
      value of the from attribute or null if the attribute is missing
    • fx

      default DomElement fx(String value)
      Sets SVG attribute fx. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fx attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fx

      default String fx()
      Gets SVG attribute fx.
      Returns:
      value of the fx attribute or null if the attribute is missing
    • fx

      default DomElement fx(double value)
      Sets SVG attribute fx to a floating-point value.
      Parameters:
      value - new value of the fx attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fxAsDouble

      default OptionalDouble fxAsDouble()
      Gets SVG attribute fx as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • fy

      default DomElement fy(String value)
      Sets SVG attribute fy. If value is null, the attribute is removed.
      Parameters:
      value - new value of the fy attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fy

      default String fy()
      Gets SVG attribute fy.
      Returns:
      value of the fy attribute or null if the attribute is missing
    • fy

      default DomElement fy(double value)
      Sets SVG attribute fy to a floating-point value.
      Parameters:
      value - new value of the fy attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • fyAsDouble

      default OptionalDouble fyAsDouble()
      Gets SVG attribute fy as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • gradientTransform

      default DomElement gradientTransform(String value)
      Sets SVG attribute gradientTransform. If value is null, the attribute is removed.
      Parameters:
      value - new value of the gradientTransform attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • gradientTransform

      default String gradientTransform()
      Gets SVG attribute gradientTransform.
      Returns:
      value of the gradientTransform attribute or null if the attribute is missing
    • gradientUnits

      default DomElement gradientUnits(String value)
      Sets SVG attribute gradientUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the gradientUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • gradientUnits

      default String gradientUnits()
      Gets SVG attribute gradientUnits.
      Returns:
      value of the gradientUnits attribute or null if the attribute is missing
    • headers

      default DomElement headers(String value)
      Sets HTML attribute headers. If value is null, the attribute is removed.
      Parameters:
      value - new value of the headers attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • headers

      default String headers()
      Gets HTML attribute headers.
      Returns:
      value of the headers attribute or null if the attribute is missing
    • height

      default DomElement height(String value)
      Sets HTML/SVG attribute height. If value is null, the attribute is removed.
      Parameters:
      value - new value of the height attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • height

      default String height()
      Gets HTML/SVG attribute height.
      Returns:
      value of the height attribute or null if the attribute is missing
    • height

      default DomElement height(int value)
      Sets HTML/SVG attribute height to an integer value.
      Parameters:
      value - new value of the height attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • heightAsInt

      default OptionalInt heightAsInt()
      Gets HTML/SVG attribute height as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • height

      default DomElement height(double value)
      Sets HTML/SVG attribute height to a floating-point value.
      Parameters:
      value - new value of the height attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • heightAsDouble

      default OptionalDouble heightAsDouble()
      Gets HTML/SVG attribute height as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • hidden

      default DomElement hidden()
      Adds boolean HTML attribute hidden. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • hidden

      default DomElement hidden(boolean present)
      Adds or removes boolean HTML attribute hidden.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • hiddenAsBoolean

      default boolean hiddenAsBoolean()
      Gets boolean HTML attribute hidden.
      Returns:
      value of the hidden attribute or null if the attribute is missing
    • high

      default DomElement high(String value)
      Sets HTML attribute high. If value is null, the attribute is removed.
      Parameters:
      value - new value of the high attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • high

      default String high()
      Gets HTML attribute high.
      Returns:
      value of the high attribute or null if the attribute is missing
    • high

      default DomElement high(double value)
      Sets HTML attribute high to a floating-point value.
      Parameters:
      value - new value of the high attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • highAsDouble

      default OptionalDouble highAsDouble()
      Gets HTML attribute high as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • href

      default DomElement href(String value)
      Sets HTML/SVG attribute href. If value is null, the attribute is removed.
      Parameters:
      value - new value of the href attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • href

      default String href()
      Gets HTML/SVG attribute href.
      Returns:
      value of the href attribute or null if the attribute is missing
    • hreflang

      default DomElement hreflang(String value)
      Sets HTML attribute hreflang. If value is null, the attribute is removed.
      Parameters:
      value - new value of the hreflang attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • hreflang

      default String hreflang()
      Gets HTML attribute hreflang.
      Returns:
      value of the hreflang attribute or null if the attribute is missing
    • httpEquiv

      default DomElement httpEquiv(String value)
      Sets HTML attribute http-equiv. If value is null, the attribute is removed.
      Parameters:
      value - new value of the http-equiv attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • httpEquiv

      default String httpEquiv()
      Gets HTML attribute http-equiv.
      Returns:
      value of the http-equiv attribute or null if the attribute is missing
    • icon

      default DomElement icon(String value)
      Sets HTML attribute icon. If value is null, the attribute is removed.
      Parameters:
      value - new value of the icon attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • icon

      default String icon()
      Gets HTML attribute icon.
      Returns:
      value of the icon attribute or null if the attribute is missing
    • imageRendering

      default DomElement imageRendering(String value)
      Sets SVG attribute image-rendering. If value is null, the attribute is removed.
      Parameters:
      value - new value of the image-rendering attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • imageRendering

      default String imageRendering()
      Gets SVG attribute image-rendering.
      Returns:
      value of the image-rendering attribute or null if the attribute is missing
    • in

      default DomElement in(String value)
      Sets SVG attribute in. If value is null, the attribute is removed.
      Parameters:
      value - new value of the in attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • in

      default String in()
      Gets SVG attribute in.
      Returns:
      value of the in attribute or null if the attribute is missing
    • in2

      default DomElement in2(String value)
      Sets SVG attribute in2. If value is null, the attribute is removed.
      Parameters:
      value - new value of the in2 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • in2

      default String in2()
      Gets SVG attribute in2.
      Returns:
      value of the in2 attribute or null if the attribute is missing
    • inputmode

      default DomElement inputmode(String value)
      Sets HTML attribute inputmode. If value is null, the attribute is removed.
      Parameters:
      value - new value of the inputmode attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • inputmode

      default String inputmode()
      Gets HTML attribute inputmode.
      Returns:
      value of the inputmode attribute or null if the attribute is missing
    • integrity

      default DomElement integrity(String value)
      Sets HTML attribute integrity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the integrity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • integrity

      default String integrity()
      Gets HTML attribute integrity.
      Returns:
      value of the integrity attribute or null if the attribute is missing
    • ismap

      default DomElement ismap()
      Adds boolean HTML attribute ismap. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • ismap

      default DomElement ismap(boolean present)
      Adds or removes boolean HTML attribute ismap.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • ismapAsBoolean

      default boolean ismapAsBoolean()
      Gets boolean HTML attribute ismap.
      Returns:
      value of the ismap attribute or null if the attribute is missing
    • k1

      default DomElement k1(String value)
      Sets SVG attribute k1. If value is null, the attribute is removed.
      Parameters:
      value - new value of the k1 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k1

      default String k1()
      Gets SVG attribute k1.
      Returns:
      value of the k1 attribute or null if the attribute is missing
    • k1

      default DomElement k1(double value)
      Sets SVG attribute k1 to a floating-point value.
      Parameters:
      value - new value of the k1 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k1AsDouble

      default OptionalDouble k1AsDouble()
      Gets SVG attribute k1 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • k2

      default DomElement k2(String value)
      Sets SVG attribute k2. If value is null, the attribute is removed.
      Parameters:
      value - new value of the k2 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k2

      default String k2()
      Gets SVG attribute k2.
      Returns:
      value of the k2 attribute or null if the attribute is missing
    • k2

      default DomElement k2(double value)
      Sets SVG attribute k2 to a floating-point value.
      Parameters:
      value - new value of the k2 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k2AsDouble

      default OptionalDouble k2AsDouble()
      Gets SVG attribute k2 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • k3

      default DomElement k3(String value)
      Sets SVG attribute k3. If value is null, the attribute is removed.
      Parameters:
      value - new value of the k3 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k3

      default String k3()
      Gets SVG attribute k3.
      Returns:
      value of the k3 attribute or null if the attribute is missing
    • k3

      default DomElement k3(double value)
      Sets SVG attribute k3 to a floating-point value.
      Parameters:
      value - new value of the k3 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k3AsDouble

      default OptionalDouble k3AsDouble()
      Gets SVG attribute k3 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • k4

      default DomElement k4(String value)
      Sets SVG attribute k4. If value is null, the attribute is removed.
      Parameters:
      value - new value of the k4 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k4

      default String k4()
      Gets SVG attribute k4.
      Returns:
      value of the k4 attribute or null if the attribute is missing
    • k4

      default DomElement k4(double value)
      Sets SVG attribute k4 to a floating-point value.
      Parameters:
      value - new value of the k4 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • k4AsDouble

      default OptionalDouble k4AsDouble()
      Gets SVG attribute k4 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • kernelMatrix

      default DomElement kernelMatrix(String value)
      Sets SVG attribute kernelMatrix. If value is null, the attribute is removed.
      Parameters:
      value - new value of the kernelMatrix attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kernelMatrix

      default String kernelMatrix()
      Gets SVG attribute kernelMatrix.
      Returns:
      value of the kernelMatrix attribute or null if the attribute is missing
    • kernelUnitLength

      default DomElement kernelUnitLength(String value)
      Sets SVG attribute kernelUnitLength. If value is null, the attribute is removed.
      Parameters:
      value - new value of the kernelUnitLength attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kernelUnitLength

      default String kernelUnitLength()
      Gets SVG attribute kernelUnitLength.
      Returns:
      value of the kernelUnitLength attribute or null if the attribute is missing
    • kernelUnitLength

      default DomElement kernelUnitLength(double value)
      Sets SVG attribute kernelUnitLength to a floating-point value.
      Parameters:
      value - new value of the kernelUnitLength attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kernelUnitLengthAsDouble

      default OptionalDouble kernelUnitLengthAsDouble()
      Gets SVG attribute kernelUnitLength as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • kerning

      default DomElement kerning(String value)
      Sets SVG attribute kerning. If value is null, the attribute is removed.
      Parameters:
      value - new value of the kerning attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kerning

      default String kerning()
      Gets SVG attribute kerning.
      Returns:
      value of the kerning attribute or null if the attribute is missing
    • kerning

      default DomElement kerning(double value)
      Sets SVG attribute kerning to a floating-point value.
      Parameters:
      value - new value of the kerning attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kerningAsDouble

      default OptionalDouble kerningAsDouble()
      Gets SVG attribute kerning as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • keySplines

      default DomElement keySplines(String value)
      Sets SVG attribute keySplines. If value is null, the attribute is removed.
      Parameters:
      value - new value of the keySplines attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • keySplines

      default String keySplines()
      Gets SVG attribute keySplines.
      Returns:
      value of the keySplines attribute or null if the attribute is missing
    • keyTimes

      default DomElement keyTimes(String value)
      Sets SVG attribute keyTimes. If value is null, the attribute is removed.
      Parameters:
      value - new value of the keyTimes attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • keyTimes

      default String keyTimes()
      Gets SVG attribute keyTimes.
      Returns:
      value of the keyTimes attribute or null if the attribute is missing
    • kind

      default DomElement kind(String value)
      Sets HTML attribute kind. If value is null, the attribute is removed.
      Parameters:
      value - new value of the kind attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • kind

      default String kind()
      Gets HTML attribute kind.
      Returns:
      value of the kind attribute or null if the attribute is missing
    • label

      default DomElement label(String value)
      Sets HTML attribute label. If value is null, the attribute is removed.
      Parameters:
      value - new value of the label attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • label

      default String label()
      Gets HTML attribute label.
      Returns:
      value of the label attribute or null if the attribute is missing
    • lang

      default DomElement lang(String value)
      Sets HTML attribute lang. If value is null, the attribute is removed.
      Parameters:
      value - new value of the lang attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • lang

      default String lang()
      Gets HTML attribute lang.
      Returns:
      value of the lang attribute or null if the attribute is missing
    • language

      default DomElement language(String value)
      Sets HTML attribute language. If value is null, the attribute is removed.
      Parameters:
      value - new value of the language attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • language

      default String language()
      Gets HTML attribute language.
      Returns:
      value of the language attribute or null if the attribute is missing
    • letterSpacing

      default DomElement letterSpacing(String value)
      Sets SVG attribute letter-spacing. If value is null, the attribute is removed.
      Parameters:
      value - new value of the letter-spacing attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • letterSpacing

      default String letterSpacing()
      Gets SVG attribute letter-spacing.
      Returns:
      value of the letter-spacing attribute or null if the attribute is missing
    • letterSpacing

      default DomElement letterSpacing(double value)
      Sets SVG attribute letter-spacing to a floating-point value.
      Parameters:
      value - new value of the letter-spacing attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • letterSpacingAsDouble

      default OptionalDouble letterSpacingAsDouble()
      Gets SVG attribute letter-spacing as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • lightingColor

      default DomElement lightingColor(String value)
      Sets SVG attribute lighting-color. If value is null, the attribute is removed.
      Parameters:
      value - new value of the lighting-color attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • lightingColor

      default String lightingColor()
      Gets SVG attribute lighting-color.
      Returns:
      value of the lighting-color attribute or null if the attribute is missing
    • limitingConeAngle

      default DomElement limitingConeAngle(String value)
      Sets SVG attribute limitingConeAngle. If value is null, the attribute is removed.
      Parameters:
      value - new value of the limitingConeAngle attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • limitingConeAngle

      default String limitingConeAngle()
      Gets SVG attribute limitingConeAngle.
      Returns:
      value of the limitingConeAngle attribute or null if the attribute is missing
    • limitingConeAngle

      default DomElement limitingConeAngle(double value)
      Sets SVG attribute limitingConeAngle to a floating-point value.
      Parameters:
      value - new value of the limitingConeAngle attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • limitingConeAngleAsDouble

      default OptionalDouble limitingConeAngleAsDouble()
      Gets SVG attribute limitingConeAngle as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • list

      default DomElement list(String value)
      Sets HTML attribute list. If value is null, the attribute is removed.
      Parameters:
      value - new value of the list attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • list

      default String list()
      Gets HTML attribute list.
      Returns:
      value of the list attribute or null if the attribute is missing
    • local

      default DomElement local(String value)
      Sets SVG attribute local. If value is null, the attribute is removed.
      Parameters:
      value - new value of the local attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • local

      default String local()
      Gets SVG attribute local.
      Returns:
      value of the local attribute or null if the attribute is missing
    • loop

      default DomElement loop()
      Adds boolean HTML attribute loop. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • loop

      default DomElement loop(boolean present)
      Adds or removes boolean HTML attribute loop.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • loopAsBoolean

      default boolean loopAsBoolean()
      Gets boolean HTML attribute loop.
      Returns:
      value of the loop attribute or null if the attribute is missing
    • low

      default DomElement low(String value)
      Sets HTML attribute low. If value is null, the attribute is removed.
      Parameters:
      value - new value of the low attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • low

      default String low()
      Gets HTML attribute low.
      Returns:
      value of the low attribute or null if the attribute is missing
    • low

      default DomElement low(double value)
      Sets HTML attribute low to a floating-point value.
      Parameters:
      value - new value of the low attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • lowAsDouble

      default OptionalDouble lowAsDouble()
      Gets HTML attribute low as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • markerEnd

      default DomElement markerEnd(String value)
      Sets SVG attribute marker-end. If value is null, the attribute is removed.
      Parameters:
      value - new value of the marker-end attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerEnd

      default String markerEnd()
      Gets SVG attribute marker-end.
      Returns:
      value of the marker-end attribute or null if the attribute is missing
    • markerMid

      default DomElement markerMid(String value)
      Sets SVG attribute marker-mid. If value is null, the attribute is removed.
      Parameters:
      value - new value of the marker-mid attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerMid

      default String markerMid()
      Gets SVG attribute marker-mid.
      Returns:
      value of the marker-mid attribute or null if the attribute is missing
    • markerStart

      default DomElement markerStart(String value)
      Sets SVG attribute marker-start. If value is null, the attribute is removed.
      Parameters:
      value - new value of the marker-start attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerStart

      default String markerStart()
      Gets SVG attribute marker-start.
      Returns:
      value of the marker-start attribute or null if the attribute is missing
    • markerHeight

      default DomElement markerHeight(String value)
      Sets SVG attribute markerHeight. If value is null, the attribute is removed.
      Parameters:
      value - new value of the markerHeight attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerHeight

      default String markerHeight()
      Gets SVG attribute markerHeight.
      Returns:
      value of the markerHeight attribute or null if the attribute is missing
    • markerHeight

      default DomElement markerHeight(double value)
      Sets SVG attribute markerHeight to a floating-point value.
      Parameters:
      value - new value of the markerHeight attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerHeightAsDouble

      default OptionalDouble markerHeightAsDouble()
      Gets SVG attribute markerHeight as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • markerUnits

      default DomElement markerUnits(String value)
      Sets SVG attribute markerUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the markerUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerUnits

      default String markerUnits()
      Gets SVG attribute markerUnits.
      Returns:
      value of the markerUnits attribute or null if the attribute is missing
    • markerWidth

      default DomElement markerWidth(String value)
      Sets SVG attribute markerWidth. If value is null, the attribute is removed.
      Parameters:
      value - new value of the markerWidth attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerWidth

      default String markerWidth()
      Gets SVG attribute markerWidth.
      Returns:
      value of the markerWidth attribute or null if the attribute is missing
    • markerWidth

      default DomElement markerWidth(double value)
      Sets SVG attribute markerWidth to a floating-point value.
      Parameters:
      value - new value of the markerWidth attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • markerWidthAsDouble

      default OptionalDouble markerWidthAsDouble()
      Gets SVG attribute markerWidth as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • mask

      default DomElement mask(String value)
      Sets SVG attribute mask. If value is null, the attribute is removed.
      Parameters:
      value - new value of the mask attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • mask

      default String mask()
      Gets SVG attribute mask.
      Returns:
      value of the mask attribute or null if the attribute is missing
    • maskContentUnits

      default DomElement maskContentUnits(String value)
      Sets SVG attribute maskContentUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the maskContentUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • maskContentUnits

      default String maskContentUnits()
      Gets SVG attribute maskContentUnits.
      Returns:
      value of the maskContentUnits attribute or null if the attribute is missing
    • maskUnits

      default DomElement maskUnits(String value)
      Sets SVG attribute maskUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the maskUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • maskUnits

      default String maskUnits()
      Gets SVG attribute maskUnits.
      Returns:
      value of the maskUnits attribute or null if the attribute is missing
    • max

      default DomElement max(String value)
      Sets HTML/SVG attribute max. If value is null, the attribute is removed.
      Parameters:
      value - new value of the max attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • max

      default String max()
      Gets HTML/SVG attribute max.
      Returns:
      value of the max attribute or null if the attribute is missing
    • max

      default DomElement max(double value)
      Sets HTML/SVG attribute max to a floating-point value.
      Parameters:
      value - new value of the max attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • maxAsDouble

      default OptionalDouble maxAsDouble()
      Gets HTML/SVG attribute max as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • maxlength

      default DomElement maxlength(String value)
      Sets HTML attribute maxlength. If value is null, the attribute is removed.
      Parameters:
      value - new value of the maxlength attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • maxlength

      default String maxlength()
      Gets HTML attribute maxlength.
      Returns:
      value of the maxlength attribute or null if the attribute is missing
    • maxlength

      default DomElement maxlength(int value)
      Sets HTML attribute maxlength to an integer value.
      Parameters:
      value - new value of the maxlength attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • maxlengthAsInt

      default OptionalInt maxlengthAsInt()
      Gets HTML attribute maxlength as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • media

      default DomElement media(String value)
      Sets HTML attribute media. If value is null, the attribute is removed.
      Parameters:
      value - new value of the media attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • media

      default String media()
      Gets HTML attribute media.
      Returns:
      value of the media attribute or null if the attribute is missing
    • method

      default DomElement method(String value)
      Sets HTML attribute method. If value is null, the attribute is removed.
      Parameters:
      value - new value of the method attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • method

      default String method()
      Gets HTML attribute method.
      Returns:
      value of the method attribute or null if the attribute is missing
    • min

      default DomElement min(String value)
      Sets HTML/SVG attribute min. If value is null, the attribute is removed.
      Parameters:
      value - new value of the min attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • min

      default String min()
      Gets HTML/SVG attribute min.
      Returns:
      value of the min attribute or null if the attribute is missing
    • min

      default DomElement min(double value)
      Sets HTML/SVG attribute min to a floating-point value.
      Parameters:
      value - new value of the min attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • minAsDouble

      default OptionalDouble minAsDouble()
      Gets HTML/SVG attribute min as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • minlength

      default DomElement minlength(String value)
      Sets HTML attribute minlength. If value is null, the attribute is removed.
      Parameters:
      value - new value of the minlength attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • minlength

      default String minlength()
      Gets HTML attribute minlength.
      Returns:
      value of the minlength attribute or null if the attribute is missing
    • minlength

      default DomElement minlength(int value)
      Sets HTML attribute minlength to an integer value.
      Parameters:
      value - new value of the minlength attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • minlengthAsInt

      default OptionalInt minlengthAsInt()
      Gets HTML attribute minlength as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • mode

      default DomElement mode(String value)
      Sets SVG attribute mode. If value is null, the attribute is removed.
      Parameters:
      value - new value of the mode attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • mode

      default String mode()
      Gets SVG attribute mode.
      Returns:
      value of the mode attribute or null if the attribute is missing
    • multiple

      default DomElement multiple()
      Adds boolean HTML attribute multiple. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • multiple

      default DomElement multiple(boolean present)
      Adds or removes boolean HTML attribute multiple.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • multipleAsBoolean

      default boolean multipleAsBoolean()
      Gets boolean HTML attribute multiple.
      Returns:
      value of the multiple attribute or null if the attribute is missing
    • muted

      default DomElement muted()
      Adds boolean HTML attribute muted. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • muted

      default DomElement muted(boolean present)
      Adds or removes boolean HTML attribute muted.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • mutedAsBoolean

      default boolean mutedAsBoolean()
      Gets boolean HTML attribute muted.
      Returns:
      value of the muted attribute or null if the attribute is missing
    • name

      default DomElement name(String value)
      Sets HTML attribute name. If value is null, the attribute is removed.
      Parameters:
      value - new value of the name attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • name

      default String name()
      Gets HTML attribute name.
      Returns:
      value of the name attribute or null if the attribute is missing
    • novalidate

      default DomElement novalidate()
      Adds boolean HTML attribute novalidate. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • novalidate

      default DomElement novalidate(boolean present)
      Adds or removes boolean HTML attribute novalidate.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • novalidateAsBoolean

      default boolean novalidateAsBoolean()
      Gets boolean HTML attribute novalidate.
      Returns:
      value of the novalidate attribute or null if the attribute is missing
    • numOctaves

      default DomElement numOctaves(String value)
      Sets SVG attribute numOctaves. If value is null, the attribute is removed.
      Parameters:
      value - new value of the numOctaves attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • numOctaves

      default String numOctaves()
      Gets SVG attribute numOctaves.
      Returns:
      value of the numOctaves attribute or null if the attribute is missing
    • numOctaves

      default DomElement numOctaves(int value)
      Sets SVG attribute numOctaves to an integer value.
      Parameters:
      value - new value of the numOctaves attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • numOctavesAsInt

      default OptionalInt numOctavesAsInt()
      Gets SVG attribute numOctaves as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • opacity

      default DomElement opacity(String value)
      Sets SVG attribute opacity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the opacity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • opacity

      default String opacity()
      Gets SVG attribute opacity.
      Returns:
      value of the opacity attribute or null if the attribute is missing
    • opacity

      default DomElement opacity(double value)
      Sets SVG attribute opacity to a floating-point value.
      Parameters:
      value - new value of the opacity attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • opacityAsDouble

      default OptionalDouble opacityAsDouble()
      Gets SVG attribute opacity as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • open

      default DomElement open()
      Adds boolean HTML attribute open. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • open

      default DomElement open(boolean present)
      Adds or removes boolean HTML attribute open.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • openAsBoolean

      default boolean openAsBoolean()
      Gets boolean HTML attribute open.
      Returns:
      value of the open attribute or null if the attribute is missing
    • operator

      default DomElement operator(String value)
      Sets SVG attribute operator. If value is null, the attribute is removed.
      Parameters:
      value - new value of the operator attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • operator

      default String operator()
      Gets SVG attribute operator.
      Returns:
      value of the operator attribute or null if the attribute is missing
    • optimum

      default DomElement optimum(String value)
      Sets HTML attribute optimum. If value is null, the attribute is removed.
      Parameters:
      value - new value of the optimum attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • optimum

      default String optimum()
      Gets HTML attribute optimum.
      Returns:
      value of the optimum attribute or null if the attribute is missing
    • optimum

      default DomElement optimum(double value)
      Sets HTML attribute optimum to a floating-point value.
      Parameters:
      value - new value of the optimum attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • optimumAsDouble

      default OptionalDouble optimumAsDouble()
      Gets HTML attribute optimum as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • order

      default DomElement order(String value)
      Sets SVG attribute order. If value is null, the attribute is removed.
      Parameters:
      value - new value of the order attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • order

      default String order()
      Gets SVG attribute order.
      Returns:
      value of the order attribute or null if the attribute is missing
    • order

      default DomElement order(int value)
      Sets SVG attribute order to an integer value.
      Parameters:
      value - new value of the order attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • orderAsInt

      default OptionalInt orderAsInt()
      Gets SVG attribute order as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • overflow

      default DomElement overflow(String value)
      Sets SVG attribute overflow. If value is null, the attribute is removed.
      Parameters:
      value - new value of the overflow attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • overflow

      default String overflow()
      Gets SVG attribute overflow.
      Returns:
      value of the overflow attribute or null if the attribute is missing
    • overlinePosition

      default DomElement overlinePosition(String value)
      Sets SVG attribute overline-position. If value is null, the attribute is removed.
      Parameters:
      value - new value of the overline-position attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • overlinePosition

      default String overlinePosition()
      Gets SVG attribute overline-position.
      Returns:
      value of the overline-position attribute or null if the attribute is missing
    • overlinePosition

      default DomElement overlinePosition(double value)
      Sets SVG attribute overline-position to a floating-point value.
      Parameters:
      value - new value of the overline-position attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • overlinePositionAsDouble

      default OptionalDouble overlinePositionAsDouble()
      Gets SVG attribute overline-position as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • overlineThickness

      default DomElement overlineThickness(String value)
      Sets SVG attribute overline-thickness. If value is null, the attribute is removed.
      Parameters:
      value - new value of the overline-thickness attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • overlineThickness

      default String overlineThickness()
      Gets SVG attribute overline-thickness.
      Returns:
      value of the overline-thickness attribute or null if the attribute is missing
    • overlineThickness

      default DomElement overlineThickness(double value)
      Sets SVG attribute overline-thickness to a floating-point value.
      Parameters:
      value - new value of the overline-thickness attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • overlineThicknessAsDouble

      default OptionalDouble overlineThicknessAsDouble()
      Gets SVG attribute overline-thickness as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • paintOrder

      default DomElement paintOrder(String value)
      Sets SVG attribute paint-order. If value is null, the attribute is removed.
      Parameters:
      value - new value of the paint-order attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • paintOrder

      default String paintOrder()
      Gets SVG attribute paint-order.
      Returns:
      value of the paint-order attribute or null if the attribute is missing
    • pathLength

      default DomElement pathLength(String value)
      Sets SVG attribute pathLength. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pathLength attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pathLength

      default String pathLength()
      Gets SVG attribute pathLength.
      Returns:
      value of the pathLength attribute or null if the attribute is missing
    • pathLength

      default DomElement pathLength(double value)
      Sets SVG attribute pathLength to a floating-point value.
      Parameters:
      value - new value of the pathLength attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pathLengthAsDouble

      default OptionalDouble pathLengthAsDouble()
      Gets SVG attribute pathLength as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • pattern

      default DomElement pattern(String value)
      Sets HTML attribute pattern. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pattern attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pattern

      default String pattern()
      Gets HTML attribute pattern.
      Returns:
      value of the pattern attribute or null if the attribute is missing
    • patternContentUnits

      default DomElement patternContentUnits(String value)
      Sets SVG attribute patternContentUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the patternContentUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • patternContentUnits

      default String patternContentUnits()
      Gets SVG attribute patternContentUnits.
      Returns:
      value of the patternContentUnits attribute or null if the attribute is missing
    • patternTransform

      default DomElement patternTransform(String value)
      Sets SVG attribute patternTransform. If value is null, the attribute is removed.
      Parameters:
      value - new value of the patternTransform attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • patternTransform

      default String patternTransform()
      Gets SVG attribute patternTransform.
      Returns:
      value of the patternTransform attribute or null if the attribute is missing
    • patternUnits

      default DomElement patternUnits(String value)
      Sets SVG attribute patternUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the patternUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • patternUnits

      default String patternUnits()
      Gets SVG attribute patternUnits.
      Returns:
      value of the patternUnits attribute or null if the attribute is missing
    • ping

      default DomElement ping()
      Adds boolean HTML attribute ping. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • ping

      default DomElement ping(boolean present)
      Adds or removes boolean HTML attribute ping.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pingAsBoolean

      default boolean pingAsBoolean()
      Gets boolean HTML attribute ping.
      Returns:
      value of the ping attribute or null if the attribute is missing
    • placeholder

      default DomElement placeholder(String value)
      Sets HTML attribute placeholder. If value is null, the attribute is removed.
      Parameters:
      value - new value of the placeholder attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • placeholder

      default String placeholder()
      Gets HTML attribute placeholder.
      Returns:
      value of the placeholder attribute or null if the attribute is missing
    • pointerEvents

      default DomElement pointerEvents(String value)
      Sets SVG attribute pointer-events. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pointer-events attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointerEvents

      default String pointerEvents()
      Gets SVG attribute pointer-events.
      Returns:
      value of the pointer-events attribute or null if the attribute is missing
    • points

      default DomElement points(String value)
      Sets SVG attribute points. If value is null, the attribute is removed.
      Parameters:
      value - new value of the points attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • points

      default String points()
      Gets SVG attribute points.
      Returns:
      value of the points attribute or null if the attribute is missing
    • pointsAtX

      default DomElement pointsAtX(String value)
      Sets SVG attribute pointsAtX. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pointsAtX attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtX

      default String pointsAtX()
      Gets SVG attribute pointsAtX.
      Returns:
      value of the pointsAtX attribute or null if the attribute is missing
    • pointsAtX

      default DomElement pointsAtX(double value)
      Sets SVG attribute pointsAtX to a floating-point value.
      Parameters:
      value - new value of the pointsAtX attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtXAsDouble

      default OptionalDouble pointsAtXAsDouble()
      Gets SVG attribute pointsAtX as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • pointsAtY

      default DomElement pointsAtY(String value)
      Sets SVG attribute pointsAtY. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pointsAtY attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtY

      default String pointsAtY()
      Gets SVG attribute pointsAtY.
      Returns:
      value of the pointsAtY attribute or null if the attribute is missing
    • pointsAtY

      default DomElement pointsAtY(double value)
      Sets SVG attribute pointsAtY to a floating-point value.
      Parameters:
      value - new value of the pointsAtY attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtYAsDouble

      default OptionalDouble pointsAtYAsDouble()
      Gets SVG attribute pointsAtY as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • pointsAtZ

      default DomElement pointsAtZ(String value)
      Sets SVG attribute pointsAtZ. If value is null, the attribute is removed.
      Parameters:
      value - new value of the pointsAtZ attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtZ

      default String pointsAtZ()
      Gets SVG attribute pointsAtZ.
      Returns:
      value of the pointsAtZ attribute or null if the attribute is missing
    • pointsAtZ

      default DomElement pointsAtZ(double value)
      Sets SVG attribute pointsAtZ to a floating-point value.
      Parameters:
      value - new value of the pointsAtZ attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • pointsAtZAsDouble

      default OptionalDouble pointsAtZAsDouble()
      Gets SVG attribute pointsAtZ as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • poster

      default DomElement poster(String value)
      Sets HTML attribute poster. If value is null, the attribute is removed.
      Parameters:
      value - new value of the poster attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • poster

      default String poster()
      Gets HTML attribute poster.
      Returns:
      value of the poster attribute or null if the attribute is missing
    • preload

      default DomElement preload(String value)
      Sets HTML attribute preload. If value is null, the attribute is removed.
      Parameters:
      value - new value of the preload attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • preload

      default String preload()
      Gets HTML attribute preload.
      Returns:
      value of the preload attribute or null if the attribute is missing
    • preserveAlpha

      default DomElement preserveAlpha(String value)
      Sets SVG attribute preserveAlpha. If value is null, the attribute is removed.
      Parameters:
      value - new value of the preserveAlpha attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • preserveAlpha

      default String preserveAlpha()
      Gets SVG attribute preserveAlpha.
      Returns:
      value of the preserveAlpha attribute or null if the attribute is missing
    • preserveAspectRatio

      default DomElement preserveAspectRatio(String value)
      Sets SVG attribute preserveAspectRatio. If value is null, the attribute is removed.
      Parameters:
      value - new value of the preserveAspectRatio attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • preserveAspectRatio

      default String preserveAspectRatio()
      Gets SVG attribute preserveAspectRatio.
      Returns:
      value of the preserveAspectRatio attribute or null if the attribute is missing
    • primitiveUnits

      default DomElement primitiveUnits(String value)
      Sets SVG attribute primitiveUnits. If value is null, the attribute is removed.
      Parameters:
      value - new value of the primitiveUnits attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • primitiveUnits

      default String primitiveUnits()
      Gets SVG attribute primitiveUnits.
      Returns:
      value of the primitiveUnits attribute or null if the attribute is missing
    • r

      default DomElement r(String value)
      Sets SVG attribute r. If value is null, the attribute is removed.
      Parameters:
      value - new value of the r attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • r

      default String r()
      Gets SVG attribute r.
      Returns:
      value of the r attribute or null if the attribute is missing
    • r

      default DomElement r(double value)
      Sets SVG attribute r to a floating-point value.
      Parameters:
      value - new value of the r attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rAsDouble

      default OptionalDouble rAsDouble()
      Gets SVG attribute r as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • radiogroup

      default DomElement radiogroup(String value)
      Sets HTML attribute radiogroup. If value is null, the attribute is removed.
      Parameters:
      value - new value of the radiogroup attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • radiogroup

      default String radiogroup()
      Gets HTML attribute radiogroup.
      Returns:
      value of the radiogroup attribute or null if the attribute is missing
    • radius

      default DomElement radius(String value)
      Sets SVG attribute radius. If value is null, the attribute is removed.
      Parameters:
      value - new value of the radius attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • radius

      default String radius()
      Gets SVG attribute radius.
      Returns:
      value of the radius attribute or null if the attribute is missing
    • radius

      default DomElement radius(double value)
      Sets SVG attribute radius to a floating-point value.
      Parameters:
      value - new value of the radius attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • radiusAsDouble

      default OptionalDouble radiusAsDouble()
      Gets SVG attribute radius as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • readonly

      default DomElement readonly()
      Adds boolean HTML attribute readonly. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • readonly

      default DomElement readonly(boolean present)
      Adds or removes boolean HTML attribute readonly.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • readonlyAsBoolean

      default boolean readonlyAsBoolean()
      Gets boolean HTML attribute readonly.
      Returns:
      value of the readonly attribute or null if the attribute is missing
    • refX

      default DomElement refX(String value)
      Sets SVG attribute refX. If value is null, the attribute is removed.
      Parameters:
      value - new value of the refX attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • refX

      default String refX()
      Gets SVG attribute refX.
      Returns:
      value of the refX attribute or null if the attribute is missing
    • refX

      default DomElement refX(double value)
      Sets SVG attribute refX to a floating-point value.
      Parameters:
      value - new value of the refX attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • refXAsDouble

      default OptionalDouble refXAsDouble()
      Gets SVG attribute refX as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • refy

      default DomElement refy(String value)
      Sets SVG attribute refy. If value is null, the attribute is removed.
      Parameters:
      value - new value of the refy attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • refy

      default String refy()
      Gets SVG attribute refy.
      Returns:
      value of the refy attribute or null if the attribute is missing
    • refy

      default DomElement refy(double value)
      Sets SVG attribute refy to a floating-point value.
      Parameters:
      value - new value of the refy attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • refyAsDouble

      default OptionalDouble refyAsDouble()
      Gets SVG attribute refy as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • rel

      default DomElement rel(String value)
      Sets HTML attribute rel. If value is null, the attribute is removed.
      Parameters:
      value - new value of the rel attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rel

      default String rel()
      Gets HTML attribute rel.
      Returns:
      value of the rel attribute or null if the attribute is missing
    • repeatCount

      default DomElement repeatCount(String value)
      Sets SVG attribute repeatCount. If value is null, the attribute is removed.
      Parameters:
      value - new value of the repeatCount attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • repeatCount

      default String repeatCount()
      Gets SVG attribute repeatCount.
      Returns:
      value of the repeatCount attribute or null if the attribute is missing
    • repeatCount

      default DomElement repeatCount(double value)
      Sets SVG attribute repeatCount to a floating-point value.
      Parameters:
      value - new value of the repeatCount attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • repeatCountAsDouble

      default OptionalDouble repeatCountAsDouble()
      Gets SVG attribute repeatCount as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • repeatDur

      default DomElement repeatDur(String value)
      Sets SVG attribute repeatDur. If value is null, the attribute is removed.
      Parameters:
      value - new value of the repeatDur attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • repeatDur

      default String repeatDur()
      Gets SVG attribute repeatDur.
      Returns:
      value of the repeatDur attribute or null if the attribute is missing
    • required

      default DomElement required()
      Adds boolean HTML attribute required. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • required

      default DomElement required(boolean present)
      Adds or removes boolean HTML attribute required.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • requiredAsBoolean

      default boolean requiredAsBoolean()
      Gets boolean HTML attribute required.
      Returns:
      value of the required attribute or null if the attribute is missing
    • requiredFeatures

      default DomElement requiredFeatures(String value)
      Sets SVG attribute requiredFeatures. If value is null, the attribute is removed.
      Parameters:
      value - new value of the requiredFeatures attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • requiredFeatures

      default String requiredFeatures()
      Gets SVG attribute requiredFeatures.
      Returns:
      value of the requiredFeatures attribute or null if the attribute is missing
    • restart

      default DomElement restart(String value)
      Sets SVG attribute restart. If value is null, the attribute is removed.
      Parameters:
      value - new value of the restart attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • restart

      default String restart()
      Gets SVG attribute restart.
      Returns:
      value of the restart attribute or null if the attribute is missing
    • result

      default DomElement result(String value)
      Sets SVG attribute result. If value is null, the attribute is removed.
      Parameters:
      value - new value of the result attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • result

      default String result()
      Gets SVG attribute result.
      Returns:
      value of the result attribute or null if the attribute is missing
    • reversed

      default DomElement reversed()
      Adds boolean HTML attribute reversed. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • reversed

      default DomElement reversed(boolean present)
      Adds or removes boolean HTML attribute reversed.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • reversedAsBoolean

      default boolean reversedAsBoolean()
      Gets boolean HTML attribute reversed.
      Returns:
      value of the reversed attribute or null if the attribute is missing
    • role

      default DomElement role(String value)
      Sets HTML attribute role. If value is null, the attribute is removed.
      Parameters:
      value - new value of the role attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • role

      default String role()
      Gets HTML attribute role.
      Returns:
      value of the role attribute or null if the attribute is missing
    • rows

      default DomElement rows(String value)
      Sets HTML attribute rows. If value is null, the attribute is removed.
      Parameters:
      value - new value of the rows attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rows

      default String rows()
      Gets HTML attribute rows.
      Returns:
      value of the rows attribute or null if the attribute is missing
    • rows

      default DomElement rows(int value)
      Sets HTML attribute rows to an integer value.
      Parameters:
      value - new value of the rows attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rowsAsInt

      default OptionalInt rowsAsInt()
      Gets HTML attribute rows as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • rowspan

      default DomElement rowspan(String value)
      Sets HTML attribute rowspan. If value is null, the attribute is removed.
      Parameters:
      value - new value of the rowspan attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rowspan

      default String rowspan()
      Gets HTML attribute rowspan.
      Returns:
      value of the rowspan attribute or null if the attribute is missing
    • rowspan

      default DomElement rowspan(int value)
      Sets HTML attribute rowspan to an integer value.
      Parameters:
      value - new value of the rowspan attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rowspanAsInt

      default OptionalInt rowspanAsInt()
      Gets HTML attribute rowspan as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • rx

      default DomElement rx(String value)
      Sets SVG attribute rx. If value is null, the attribute is removed.
      Parameters:
      value - new value of the rx attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rx

      default String rx()
      Gets SVG attribute rx.
      Returns:
      value of the rx attribute or null if the attribute is missing
    • rx

      default DomElement rx(double value)
      Sets SVG attribute rx to a floating-point value.
      Parameters:
      value - new value of the rx attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • rxAsDouble

      default OptionalDouble rxAsDouble()
      Gets SVG attribute rx as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • ry

      default DomElement ry(String value)
      Sets SVG attribute ry. If value is null, the attribute is removed.
      Parameters:
      value - new value of the ry attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • ry

      default String ry()
      Gets SVG attribute ry.
      Returns:
      value of the ry attribute or null if the attribute is missing
    • ry

      default DomElement ry(double value)
      Sets SVG attribute ry to a floating-point value.
      Parameters:
      value - new value of the ry attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • ryAsDouble

      default OptionalDouble ryAsDouble()
      Gets SVG attribute ry as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • sandbox

      default DomElement sandbox(String value)
      Sets HTML attribute sandbox. If value is null, the attribute is removed.
      Parameters:
      value - new value of the sandbox attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • sandbox

      default String sandbox()
      Gets HTML attribute sandbox.
      Returns:
      value of the sandbox attribute or null if the attribute is missing
    • scale

      default DomElement scale(String value)
      Sets SVG attribute scale. If value is null, the attribute is removed.
      Parameters:
      value - new value of the scale attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • scale

      default String scale()
      Gets SVG attribute scale.
      Returns:
      value of the scale attribute or null if the attribute is missing
    • scale

      default DomElement scale(double value)
      Sets SVG attribute scale to a floating-point value.
      Parameters:
      value - new value of the scale attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • scaleAsDouble

      default OptionalDouble scaleAsDouble()
      Gets SVG attribute scale as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • scope

      default DomElement scope(String value)
      Sets HTML attribute scope. If value is null, the attribute is removed.
      Parameters:
      value - new value of the scope attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • scope

      default String scope()
      Gets HTML attribute scope.
      Returns:
      value of the scope attribute or null if the attribute is missing
    • seed

      default DomElement seed(String value)
      Sets SVG attribute seed. If value is null, the attribute is removed.
      Parameters:
      value - new value of the seed attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • seed

      default String seed()
      Gets SVG attribute seed.
      Returns:
      value of the seed attribute or null if the attribute is missing
    • seed

      default DomElement seed(double value)
      Sets SVG attribute seed to a floating-point value.
      Parameters:
      value - new value of the seed attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • seedAsDouble

      default OptionalDouble seedAsDouble()
      Gets SVG attribute seed as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • selected

      default DomElement selected()
      Adds boolean HTML attribute selected. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selected

      default DomElement selected(boolean present)
      Adds or removes boolean HTML attribute selected.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectedAsBoolean

      default boolean selectedAsBoolean()
      Gets boolean HTML attribute selected.
      Returns:
      value of the selected attribute or null if the attribute is missing
    • selectionDirection

      default DomElement selectionDirection(String value)
      Sets HTML attribute selectionDirection. If value is null, the attribute is removed.
      Parameters:
      value - new value of the selectionDirection attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectionDirection

      default String selectionDirection()
      Gets HTML attribute selectionDirection.
      Returns:
      value of the selectionDirection attribute or null if the attribute is missing
    • selectionEnd

      default DomElement selectionEnd(String value)
      Sets HTML attribute selectionEnd. If value is null, the attribute is removed.
      Parameters:
      value - new value of the selectionEnd attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectionEnd

      default String selectionEnd()
      Gets HTML attribute selectionEnd.
      Returns:
      value of the selectionEnd attribute or null if the attribute is missing
    • selectionEnd

      default DomElement selectionEnd(int value)
      Sets HTML attribute selectionEnd to an integer value.
      Parameters:
      value - new value of the selectionEnd attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectionEndAsInt

      default OptionalInt selectionEndAsInt()
      Gets HTML attribute selectionEnd as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • selectionStart

      default DomElement selectionStart(String value)
      Sets HTML attribute selectionStart. If value is null, the attribute is removed.
      Parameters:
      value - new value of the selectionStart attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectionStart

      default String selectionStart()
      Gets HTML attribute selectionStart.
      Returns:
      value of the selectionStart attribute or null if the attribute is missing
    • selectionStart

      default DomElement selectionStart(int value)
      Sets HTML attribute selectionStart to an integer value.
      Parameters:
      value - new value of the selectionStart attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • selectionStartAsInt

      default OptionalInt selectionStartAsInt()
      Gets HTML attribute selectionStart as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • shape

      default DomElement shape(String value)
      Sets HTML attribute shape. If value is null, the attribute is removed.
      Parameters:
      value - new value of the shape attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • shape

      default String shape()
      Gets HTML attribute shape.
      Returns:
      value of the shape attribute or null if the attribute is missing
    • shapeRendering

      default DomElement shapeRendering(String value)
      Sets SVG attribute shape-rendering. If value is null, the attribute is removed.
      Parameters:
      value - new value of the shape-rendering attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • shapeRendering

      default String shapeRendering()
      Gets SVG attribute shape-rendering.
      Returns:
      value of the shape-rendering attribute or null if the attribute is missing
    • size

      default DomElement size(String value)
      Sets HTML attribute size. If value is null, the attribute is removed.
      Parameters:
      value - new value of the size attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • size

      default String size()
      Gets HTML attribute size.
      Returns:
      value of the size attribute or null if the attribute is missing
    • size

      default DomElement size(int value)
      Sets HTML attribute size to an integer value.
      Parameters:
      value - new value of the size attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • sizeAsInt

      default OptionalInt sizeAsInt()
      Gets HTML attribute size as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • sizes

      default DomElement sizes(String value)
      Sets HTML attribute sizes. If value is null, the attribute is removed.
      Parameters:
      value - new value of the sizes attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • sizes

      default String sizes()
      Gets HTML attribute sizes.
      Returns:
      value of the sizes attribute or null if the attribute is missing
    • slot

      default DomElement slot(String value)
      Sets HTML attribute slot. If value is null, the attribute is removed.
      Parameters:
      value - new value of the slot attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • slot

      default String slot()
      Gets HTML attribute slot.
      Returns:
      value of the slot attribute or null if the attribute is missing
    • span

      default DomElement span(String value)
      Sets HTML attribute span. If value is null, the attribute is removed.
      Parameters:
      value - new value of the span attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • span

      default String span()
      Gets HTML attribute span.
      Returns:
      value of the span attribute or null if the attribute is missing
    • span

      default DomElement span(int value)
      Sets HTML attribute span to an integer value.
      Parameters:
      value - new value of the span attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • spanAsInt

      default OptionalInt spanAsInt()
      Gets HTML attribute span as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • specularConstant

      default DomElement specularConstant(String value)
      Sets SVG attribute specularConstant. If value is null, the attribute is removed.
      Parameters:
      value - new value of the specularConstant attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • specularConstant

      default String specularConstant()
      Gets SVG attribute specularConstant.
      Returns:
      value of the specularConstant attribute or null if the attribute is missing
    • specularConstant

      default DomElement specularConstant(double value)
      Sets SVG attribute specularConstant to a floating-point value.
      Parameters:
      value - new value of the specularConstant attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • specularConstantAsDouble

      default OptionalDouble specularConstantAsDouble()
      Gets SVG attribute specularConstant as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • specularExponent

      default DomElement specularExponent(String value)
      Sets SVG attribute specularExponent. If value is null, the attribute is removed.
      Parameters:
      value - new value of the specularExponent attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • specularExponent

      default String specularExponent()
      Gets SVG attribute specularExponent.
      Returns:
      value of the specularExponent attribute or null if the attribute is missing
    • specularExponent

      default DomElement specularExponent(double value)
      Sets SVG attribute specularExponent to a floating-point value.
      Parameters:
      value - new value of the specularExponent attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • specularExponentAsDouble

      default OptionalDouble specularExponentAsDouble()
      Gets SVG attribute specularExponent as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • spellcheck

      default DomElement spellcheck(String value)
      Sets HTML attribute spellcheck. If value is null, the attribute is removed.
      Parameters:
      value - new value of the spellcheck attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • spellcheck

      default String spellcheck()
      Gets HTML attribute spellcheck.
      Returns:
      value of the spellcheck attribute or null if the attribute is missing
    • src

      default DomElement src(String value)
      Sets HTML attribute src. If value is null, the attribute is removed.
      Parameters:
      value - new value of the src attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • src

      default String src()
      Gets HTML attribute src.
      Returns:
      value of the src attribute or null if the attribute is missing
    • srcdoc

      default DomElement srcdoc(String value)
      Sets HTML attribute srcdoc. If value is null, the attribute is removed.
      Parameters:
      value - new value of the srcdoc attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • srcdoc

      default String srcdoc()
      Gets HTML attribute srcdoc.
      Returns:
      value of the srcdoc attribute or null if the attribute is missing
    • srclang

      default DomElement srclang(String value)
      Sets HTML attribute srclang. If value is null, the attribute is removed.
      Parameters:
      value - new value of the srclang attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • srclang

      default String srclang()
      Gets HTML attribute srclang.
      Returns:
      value of the srclang attribute or null if the attribute is missing
    • srcset

      default DomElement srcset(String value)
      Sets HTML attribute srcset. If value is null, the attribute is removed.
      Parameters:
      value - new value of the srcset attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • srcset

      default String srcset()
      Gets HTML attribute srcset.
      Returns:
      value of the srcset attribute or null if the attribute is missing
    • start

      default DomElement start(String value)
      Sets HTML attribute start. If value is null, the attribute is removed.
      Parameters:
      value - new value of the start attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • start

      default String start()
      Gets HTML attribute start.
      Returns:
      value of the start attribute or null if the attribute is missing
    • start

      default DomElement start(int value)
      Sets HTML attribute start to an integer value.
      Parameters:
      value - new value of the start attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • startAsInt

      default OptionalInt startAsInt()
      Gets HTML attribute start as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • stdDeviation

      default DomElement stdDeviation(String value)
      Sets SVG attribute stdDeviation. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stdDeviation attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stdDeviation

      default String stdDeviation()
      Gets SVG attribute stdDeviation.
      Returns:
      value of the stdDeviation attribute or null if the attribute is missing
    • stdDeviation

      default DomElement stdDeviation(double value)
      Sets SVG attribute stdDeviation to a floating-point value.
      Parameters:
      value - new value of the stdDeviation attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stdDeviationAsDouble

      default OptionalDouble stdDeviationAsDouble()
      Gets SVG attribute stdDeviation as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • step

      default DomElement step(String value)
      Sets HTML attribute step. If value is null, the attribute is removed.
      Parameters:
      value - new value of the step attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • step

      default String step()
      Gets HTML attribute step.
      Returns:
      value of the step attribute or null if the attribute is missing
    • step

      default DomElement step(double value)
      Sets HTML attribute step to a floating-point value.
      Parameters:
      value - new value of the step attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stepAsDouble

      default OptionalDouble stepAsDouble()
      Gets HTML attribute step as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • stitchTiles

      default DomElement stitchTiles(String value)
      Sets SVG attribute stitchTiles. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stitchTiles attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stitchTiles

      default String stitchTiles()
      Gets SVG attribute stitchTiles.
      Returns:
      value of the stitchTiles attribute or null if the attribute is missing
    • stopColor

      default DomElement stopColor(String value)
      Sets SVG attribute stop-color. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stop-color attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stopColor

      default String stopColor()
      Gets SVG attribute stop-color.
      Returns:
      value of the stop-color attribute or null if the attribute is missing
    • stopOpacity

      default DomElement stopOpacity(String value)
      Sets SVG attribute stop-opacity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stop-opacity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stopOpacity

      default String stopOpacity()
      Gets SVG attribute stop-opacity.
      Returns:
      value of the stop-opacity attribute or null if the attribute is missing
    • stopOpacity

      default DomElement stopOpacity(double value)
      Sets SVG attribute stop-opacity to a floating-point value.
      Parameters:
      value - new value of the stop-opacity attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stopOpacityAsDouble

      default OptionalDouble stopOpacityAsDouble()
      Gets SVG attribute stop-opacity as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • strikethroughPosition

      default DomElement strikethroughPosition(String value)
      Sets SVG attribute strikethrough-position. If value is null, the attribute is removed.
      Parameters:
      value - new value of the strikethrough-position attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strikethroughPosition

      default String strikethroughPosition()
      Gets SVG attribute strikethrough-position.
      Returns:
      value of the strikethrough-position attribute or null if the attribute is missing
    • strikethroughPosition

      default DomElement strikethroughPosition(double value)
      Sets SVG attribute strikethrough-position to a floating-point value.
      Parameters:
      value - new value of the strikethrough-position attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strikethroughPositionAsDouble

      default OptionalDouble strikethroughPositionAsDouble()
      Gets SVG attribute strikethrough-position as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • strikethroughThickness

      default DomElement strikethroughThickness(String value)
      Sets SVG attribute strikethrough-thickness. If value is null, the attribute is removed.
      Parameters:
      value - new value of the strikethrough-thickness attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strikethroughThickness

      default String strikethroughThickness()
      Gets SVG attribute strikethrough-thickness.
      Returns:
      value of the strikethrough-thickness attribute or null if the attribute is missing
    • strikethroughThickness

      default DomElement strikethroughThickness(double value)
      Sets SVG attribute strikethrough-thickness to a floating-point value.
      Parameters:
      value - new value of the strikethrough-thickness attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strikethroughThicknessAsDouble

      default OptionalDouble strikethroughThicknessAsDouble()
      Gets SVG attribute strikethrough-thickness as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • stroke

      default DomElement stroke(String value)
      Sets SVG attribute stroke. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • stroke

      default String stroke()
      Gets SVG attribute stroke.
      Returns:
      value of the stroke attribute or null if the attribute is missing
    • strokeDasharray

      default DomElement strokeDasharray(String value)
      Sets SVG attribute stroke-dasharray. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-dasharray attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeDasharray

      default String strokeDasharray()
      Gets SVG attribute stroke-dasharray.
      Returns:
      value of the stroke-dasharray attribute or null if the attribute is missing
    • strokeDashoffset

      default DomElement strokeDashoffset(String value)
      Sets SVG attribute stroke-dashoffset. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-dashoffset attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeDashoffset

      default String strokeDashoffset()
      Gets SVG attribute stroke-dashoffset.
      Returns:
      value of the stroke-dashoffset attribute or null if the attribute is missing
    • strokeDashoffset

      default DomElement strokeDashoffset(double value)
      Sets SVG attribute stroke-dashoffset to a floating-point value.
      Parameters:
      value - new value of the stroke-dashoffset attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeDashoffsetAsDouble

      default OptionalDouble strokeDashoffsetAsDouble()
      Gets SVG attribute stroke-dashoffset as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • strokeLinecap

      default DomElement strokeLinecap(String value)
      Sets SVG attribute stroke-linecap. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-linecap attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeLinecap

      default String strokeLinecap()
      Gets SVG attribute stroke-linecap.
      Returns:
      value of the stroke-linecap attribute or null if the attribute is missing
    • strokeLinejoin

      default DomElement strokeLinejoin(String value)
      Sets SVG attribute stroke-linejoin. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-linejoin attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeLinejoin

      default String strokeLinejoin()
      Gets SVG attribute stroke-linejoin.
      Returns:
      value of the stroke-linejoin attribute or null if the attribute is missing
    • strokeMiterlimit

      default DomElement strokeMiterlimit(String value)
      Sets SVG attribute stroke-miterlimit. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-miterlimit attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeMiterlimit

      default String strokeMiterlimit()
      Gets SVG attribute stroke-miterlimit.
      Returns:
      value of the stroke-miterlimit attribute or null if the attribute is missing
    • strokeMiterlimit

      default DomElement strokeMiterlimit(double value)
      Sets SVG attribute stroke-miterlimit to a floating-point value.
      Parameters:
      value - new value of the stroke-miterlimit attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeMiterlimitAsDouble

      default OptionalDouble strokeMiterlimitAsDouble()
      Gets SVG attribute stroke-miterlimit as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • strokeOpacity

      default DomElement strokeOpacity(String value)
      Sets SVG attribute stroke-opacity. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-opacity attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeOpacity

      default String strokeOpacity()
      Gets SVG attribute stroke-opacity.
      Returns:
      value of the stroke-opacity attribute or null if the attribute is missing
    • strokeOpacity

      default DomElement strokeOpacity(double value)
      Sets SVG attribute stroke-opacity to a floating-point value.
      Parameters:
      value - new value of the stroke-opacity attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeOpacityAsDouble

      default OptionalDouble strokeOpacityAsDouble()
      Gets SVG attribute stroke-opacity as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • strokeWidth

      default DomElement strokeWidth(String value)
      Sets SVG attribute stroke-width. If value is null, the attribute is removed.
      Parameters:
      value - new value of the stroke-width attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeWidth

      default String strokeWidth()
      Gets SVG attribute stroke-width.
      Returns:
      value of the stroke-width attribute or null if the attribute is missing
    • strokeWidth

      default DomElement strokeWidth(double value)
      Sets SVG attribute stroke-width to a floating-point value.
      Parameters:
      value - new value of the stroke-width attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • strokeWidthAsDouble

      default OptionalDouble strokeWidthAsDouble()
      Gets SVG attribute stroke-width as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • style

      default DomElement style(String value)
      Sets HTML/SVG attribute style. If value is null, the attribute is removed.
      Parameters:
      value - new value of the style attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • style

      default String style()
      Gets HTML/SVG attribute style.
      Returns:
      value of the style attribute or null if the attribute is missing
    • surfaceScale

      default DomElement surfaceScale(String value)
      Sets SVG attribute surfaceScale. If value is null, the attribute is removed.
      Parameters:
      value - new value of the surfaceScale attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • surfaceScale

      default String surfaceScale()
      Gets SVG attribute surfaceScale.
      Returns:
      value of the surfaceScale attribute or null if the attribute is missing
    • surfaceScale

      default DomElement surfaceScale(double value)
      Sets SVG attribute surfaceScale to a floating-point value.
      Parameters:
      value - new value of the surfaceScale attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • surfaceScaleAsDouble

      default OptionalDouble surfaceScaleAsDouble()
      Gets SVG attribute surfaceScale as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • systemLanguage

      default DomElement systemLanguage(String value)
      Sets SVG attribute systemLanguage. If value is null, the attribute is removed.
      Parameters:
      value - new value of the systemLanguage attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • systemLanguage

      default String systemLanguage()
      Gets SVG attribute systemLanguage.
      Returns:
      value of the systemLanguage attribute or null if the attribute is missing
    • tabindex

      default DomElement tabindex(String value)
      Sets HTML/SVG attribute tabindex. If value is null, the attribute is removed.
      Parameters:
      value - new value of the tabindex attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • tabindex

      default String tabindex()
      Gets HTML/SVG attribute tabindex.
      Returns:
      value of the tabindex attribute or null if the attribute is missing
    • tabindex

      default DomElement tabindex(int value)
      Sets HTML/SVG attribute tabindex to an integer value.
      Parameters:
      value - new value of the tabindex attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • tabindexAsInt

      default OptionalInt tabindexAsInt()
      Gets HTML/SVG attribute tabindex as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • target

      default DomElement target(String value)
      Sets HTML attribute target. If value is null, the attribute is removed.
      Parameters:
      value - new value of the target attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • target

      default String target()
      Gets HTML attribute target.
      Returns:
      value of the target attribute or null if the attribute is missing
    • targetX

      default DomElement targetX(String value)
      Sets SVG attribute targetX. If value is null, the attribute is removed.
      Parameters:
      value - new value of the targetX attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • targetX

      default String targetX()
      Gets SVG attribute targetX.
      Returns:
      value of the targetX attribute or null if the attribute is missing
    • targetX

      default DomElement targetX(double value)
      Sets SVG attribute targetX to a floating-point value.
      Parameters:
      value - new value of the targetX attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • targetXAsDouble

      default OptionalDouble targetXAsDouble()
      Gets SVG attribute targetX as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • targetY

      default DomElement targetY(String value)
      Sets SVG attribute targetY. If value is null, the attribute is removed.
      Parameters:
      value - new value of the targetY attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • targetY

      default String targetY()
      Gets SVG attribute targetY.
      Returns:
      value of the targetY attribute or null if the attribute is missing
    • targetY

      default DomElement targetY(double value)
      Sets SVG attribute targetY to a floating-point value.
      Parameters:
      value - new value of the targetY attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • targetYAsDouble

      default OptionalDouble targetYAsDouble()
      Gets SVG attribute targetY as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • textAnchor

      default DomElement textAnchor(String value)
      Sets SVG attribute text-anchor. If value is null, the attribute is removed.
      Parameters:
      value - new value of the text-anchor attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • textAnchor

      default String textAnchor()
      Gets SVG attribute text-anchor.
      Returns:
      value of the text-anchor attribute or null if the attribute is missing
    • textDecoration

      default DomElement textDecoration(String value)
      Sets SVG attribute text-decoration. If value is null, the attribute is removed.
      Parameters:
      value - new value of the text-decoration attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • textDecoration

      default String textDecoration()
      Gets SVG attribute text-decoration.
      Returns:
      value of the text-decoration attribute or null if the attribute is missing
    • textRendering

      default DomElement textRendering(String value)
      Sets SVG attribute text-rendering. If value is null, the attribute is removed.
      Parameters:
      value - new value of the text-rendering attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • textRendering

      default String textRendering()
      Gets SVG attribute text-rendering.
      Returns:
      value of the text-rendering attribute or null if the attribute is missing
    • textLength

      default DomElement textLength(String value)
      Sets SVG attribute textLength. If value is null, the attribute is removed.
      Parameters:
      value - new value of the textLength attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • textLength

      default String textLength()
      Gets SVG attribute textLength.
      Returns:
      value of the textLength attribute or null if the attribute is missing
    • textLength

      default DomElement textLength(double value)
      Sets SVG attribute textLength to a floating-point value.
      Parameters:
      value - new value of the textLength attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • textLengthAsDouble

      default OptionalDouble textLengthAsDouble()
      Gets SVG attribute textLength as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • title

      default DomElement title(String value)
      Sets HTML attribute title. If value is null, the attribute is removed.
      Parameters:
      value - new value of the title attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • title

      default String title()
      Gets HTML attribute title.
      Returns:
      value of the title attribute or null if the attribute is missing
    • to

      default DomElement to(String value)
      Sets SVG attribute to. If value is null, the attribute is removed.
      Parameters:
      value - new value of the to attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • to

      default String to()
      Gets SVG attribute to.
      Returns:
      value of the to attribute or null if the attribute is missing
    • transform

      default DomElement transform(String value)
      Sets SVG attribute transform. If value is null, the attribute is removed.
      Parameters:
      value - new value of the transform attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • transform

      default String transform()
      Gets SVG attribute transform.
      Returns:
      value of the transform attribute or null if the attribute is missing
    • type

      default DomElement type(String value)
      Sets HTML/SVG attribute type. If value is null, the attribute is removed.
      Parameters:
      value - new value of the type attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • type

      default String type()
      Gets HTML/SVG attribute type.
      Returns:
      value of the type attribute or null if the attribute is missing
    • typemustmatch

      default DomElement typemustmatch()
      Adds boolean HTML attribute typemustmatch. This method has no effect if the attribute is already present.
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • typemustmatch

      default DomElement typemustmatch(boolean present)
      Adds or removes boolean HTML attribute typemustmatch.
      Parameters:
      present - true to add the attribute, false to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • typemustmatchAsBoolean

      default boolean typemustmatchAsBoolean()
      Gets boolean HTML attribute typemustmatch.
      Returns:
      value of the typemustmatch attribute or null if the attribute is missing
    • underlinePosition

      default DomElement underlinePosition(String value)
      Sets SVG attribute underline-position. If value is null, the attribute is removed.
      Parameters:
      value - new value of the underline-position attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • underlinePosition

      default String underlinePosition()
      Gets SVG attribute underline-position.
      Returns:
      value of the underline-position attribute or null if the attribute is missing
    • underlinePosition

      default DomElement underlinePosition(double value)
      Sets SVG attribute underline-position to a floating-point value.
      Parameters:
      value - new value of the underline-position attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • underlinePositionAsDouble

      default OptionalDouble underlinePositionAsDouble()
      Gets SVG attribute underline-position as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • underlineThickness

      default DomElement underlineThickness(String value)
      Sets SVG attribute underline-thickness. If value is null, the attribute is removed.
      Parameters:
      value - new value of the underline-thickness attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • underlineThickness

      default String underlineThickness()
      Gets SVG attribute underline-thickness.
      Returns:
      value of the underline-thickness attribute or null if the attribute is missing
    • underlineThickness

      default DomElement underlineThickness(double value)
      Sets SVG attribute underline-thickness to a floating-point value.
      Parameters:
      value - new value of the underline-thickness attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • underlineThicknessAsDouble

      default OptionalDouble underlineThicknessAsDouble()
      Gets SVG attribute underline-thickness as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • usemap

      default DomElement usemap(String value)
      Sets HTML attribute usemap. If value is null, the attribute is removed.
      Parameters:
      value - new value of the usemap attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • usemap

      default String usemap()
      Gets HTML attribute usemap.
      Returns:
      value of the usemap attribute or null if the attribute is missing
    • value

      default DomElement value(String value)
      Sets HTML attribute value. If value is null, the attribute is removed.
      Parameters:
      value - new value of the value attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • value

      default String value()
      Gets HTML attribute value.
      Returns:
      value of the value attribute or null if the attribute is missing
    • value

      default DomElement value(double value)
      Sets HTML attribute value to a floating-point value.
      Parameters:
      value - new value of the value attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • valueAsDouble

      default OptionalDouble valueAsDouble()
      Gets HTML attribute value as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • values

      default DomElement values(String value)
      Sets SVG attribute values. If value is null, the attribute is removed.
      Parameters:
      value - new value of the values attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • values

      default String values()
      Gets SVG attribute values.
      Returns:
      value of the values attribute or null if the attribute is missing
    • vectorEffect

      default DomElement vectorEffect(String value)
      Sets SVG attribute vector-effect. If value is null, the attribute is removed.
      Parameters:
      value - new value of the vector-effect attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • vectorEffect

      default String vectorEffect()
      Gets SVG attribute vector-effect.
      Returns:
      value of the vector-effect attribute or null if the attribute is missing
    • version

      default DomElement version(String value)
      Sets SVG attribute version. If value is null, the attribute is removed.
      Parameters:
      value - new value of the version attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • version

      default String version()
      Gets SVG attribute version.
      Returns:
      value of the version attribute or null if the attribute is missing
    • viewBox

      default DomElement viewBox(String value)
      Sets SVG attribute viewBox. If value is null, the attribute is removed.
      Parameters:
      value - new value of the viewBox attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • viewBox

      default String viewBox()
      Gets SVG attribute viewBox.
      Returns:
      value of the viewBox attribute or null if the attribute is missing
    • visibility

      default DomElement visibility(String value)
      Sets SVG attribute visibility. If value is null, the attribute is removed.
      Parameters:
      value - new value of the visibility attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • visibility

      default String visibility()
      Gets SVG attribute visibility.
      Returns:
      value of the visibility attribute or null if the attribute is missing
    • volume

      default DomElement volume(String value)
      Sets HTML attribute volume. If value is null, the attribute is removed.
      Parameters:
      value - new value of the volume attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • volume

      default String volume()
      Gets HTML attribute volume.
      Returns:
      value of the volume attribute or null if the attribute is missing
    • volume

      default DomElement volume(double value)
      Sets HTML attribute volume to a floating-point value.
      Parameters:
      value - new value of the volume attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • volumeAsDouble

      default OptionalDouble volumeAsDouble()
      Gets HTML attribute volume as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • width

      default DomElement width(String value)
      Sets HTML/SVG attribute width. If value is null, the attribute is removed.
      Parameters:
      value - new value of the width attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • width

      default String width()
      Gets HTML/SVG attribute width.
      Returns:
      value of the width attribute or null if the attribute is missing
    • width

      default DomElement width(int value)
      Sets HTML/SVG attribute width to an integer value.
      Parameters:
      value - new value of the width attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • widthAsInt

      default OptionalInt widthAsInt()
      Gets HTML/SVG attribute width as an integer value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not an integer
    • width

      default DomElement width(double value)
      Sets HTML/SVG attribute width to a floating-point value.
      Parameters:
      value - new value of the width attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • widthAsDouble

      default OptionalDouble widthAsDouble()
      Gets HTML/SVG attribute width as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • wordSpacing

      default DomElement wordSpacing(String value)
      Sets SVG attribute word-spacing. If value is null, the attribute is removed.
      Parameters:
      value - new value of the word-spacing attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • wordSpacing

      default String wordSpacing()
      Gets SVG attribute word-spacing.
      Returns:
      value of the word-spacing attribute or null if the attribute is missing
    • wordSpacing

      default DomElement wordSpacing(double value)
      Sets SVG attribute word-spacing to a floating-point value.
      Parameters:
      value - new value of the word-spacing attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • wordSpacingAsDouble

      default OptionalDouble wordSpacingAsDouble()
      Gets SVG attribute word-spacing as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • wrap

      default DomElement wrap(String value)
      Sets HTML attribute wrap. If value is null, the attribute is removed.
      Parameters:
      value - new value of the wrap attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • wrap

      default String wrap()
      Gets HTML attribute wrap.
      Returns:
      value of the wrap attribute or null if the attribute is missing
    • writingMode

      default DomElement writingMode(String value)
      Sets SVG attribute writing-mode. If value is null, the attribute is removed.
      Parameters:
      value - new value of the writing-mode attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • writingMode

      default String writingMode()
      Gets SVG attribute writing-mode.
      Returns:
      value of the writing-mode attribute or null if the attribute is missing
    • x

      default DomElement x(String value)
      Sets SVG attribute x. If value is null, the attribute is removed.
      Parameters:
      value - new value of the x attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • x

      default String x()
      Gets SVG attribute x.
      Returns:
      value of the x attribute or null if the attribute is missing
    • x

      default DomElement x(double value)
      Sets SVG attribute x to a floating-point value.
      Parameters:
      value - new value of the x attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • xAsDouble

      default OptionalDouble xAsDouble()
      Gets SVG attribute x as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • x1

      default DomElement x1(String value)
      Sets SVG attribute x1. If value is null, the attribute is removed.
      Parameters:
      value - new value of the x1 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • x1

      default String x1()
      Gets SVG attribute x1.
      Returns:
      value of the x1 attribute or null if the attribute is missing
    • x1

      default DomElement x1(double value)
      Sets SVG attribute x1 to a floating-point value.
      Parameters:
      value - new value of the x1 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • x1AsDouble

      default OptionalDouble x1AsDouble()
      Gets SVG attribute x1 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • x2

      default DomElement x2(String value)
      Sets SVG attribute x2. If value is null, the attribute is removed.
      Parameters:
      value - new value of the x2 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • x2

      default String x2()
      Gets SVG attribute x2.
      Returns:
      value of the x2 attribute or null if the attribute is missing
    • x2

      default DomElement x2(double value)
      Sets SVG attribute x2 to a floating-point value.
      Parameters:
      value - new value of the x2 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • x2AsDouble

      default OptionalDouble x2AsDouble()
      Gets SVG attribute x2 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • xChannelSelector

      default DomElement xChannelSelector(String value)
      Sets SVG attribute xChannelSelector. If value is null, the attribute is removed.
      Parameters:
      value - new value of the xChannelSelector attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • xChannelSelector

      default String xChannelSelector()
      Gets SVG attribute xChannelSelector.
      Returns:
      value of the xChannelSelector attribute or null if the attribute is missing
    • y

      default DomElement y(String value)
      Sets SVG attribute y. If value is null, the attribute is removed.
      Parameters:
      value - new value of the y attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • y

      default String y()
      Gets SVG attribute y.
      Returns:
      value of the y attribute or null if the attribute is missing
    • y

      default DomElement y(double value)
      Sets SVG attribute y to a floating-point value.
      Parameters:
      value - new value of the y attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • yAsDouble

      default OptionalDouble yAsDouble()
      Gets SVG attribute y as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • y1

      default DomElement y1(String value)
      Sets SVG attribute y1. If value is null, the attribute is removed.
      Parameters:
      value - new value of the y1 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • y1

      default String y1()
      Gets SVG attribute y1.
      Returns:
      value of the y1 attribute or null if the attribute is missing
    • y1

      default DomElement y1(double value)
      Sets SVG attribute y1 to a floating-point value.
      Parameters:
      value - new value of the y1 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • y1AsDouble

      default OptionalDouble y1AsDouble()
      Gets SVG attribute y1 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • y2

      default DomElement y2(String value)
      Sets SVG attribute y2. If value is null, the attribute is removed.
      Parameters:
      value - new value of the y2 attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • y2

      default String y2()
      Gets SVG attribute y2.
      Returns:
      value of the y2 attribute or null if the attribute is missing
    • y2

      default DomElement y2(double value)
      Sets SVG attribute y2 to a floating-point value.
      Parameters:
      value - new value of the y2 attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • y2AsDouble

      default OptionalDouble y2AsDouble()
      Gets SVG attribute y2 as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number
    • yChannelSelector

      default DomElement yChannelSelector(String value)
      Sets SVG attribute yChannelSelector. If value is null, the attribute is removed.
      Parameters:
      value - new value of the yChannelSelector attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • yChannelSelector

      default String yChannelSelector()
      Gets SVG attribute yChannelSelector.
      Returns:
      value of the yChannelSelector attribute or null if the attribute is missing
    • z

      default DomElement z(String value)
      Sets SVG attribute z. If value is null, the attribute is removed.
      Parameters:
      value - new value of the z attribute or null to remove the attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • z

      default String z()
      Gets SVG attribute z.
      Returns:
      value of the z attribute or null if the attribute is missing
    • z

      default DomElement z(double value)
      Sets SVG attribute z to a floating-point value.
      Parameters:
      value - new value of the z attribute
      Returns:
      this
      Throws:
      IllegalStateException - if the element is frozen
    • zAsDouble

      default OptionalDouble zAsDouble()
      Gets SVG attribute z as a floating-point value.
      Returns:
      this
      Throws:
      NumberFormatException - if the attribute is not a floating-point number