Interface DomAttributes

  • All Known Implementing Classes:
    DomElement

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

      • attributeAsString

        String attributeAsString​(String name)
      • attributeAsBoolean

        boolean attributeAsBoolean​(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