-
- All Known Implementing Classes:
-
DomElement
@DraftDocs("longer summary, non-default methods") @NoTests public interface DomAttributes
Strongly typed attribute setters and getters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
accept()
Gets HTML attributeaccept
.default DomElement
accept(String value)
Sets HTML attributeaccept
.default String
acceptCharset()
Gets HTML attributeaccept-charset
.default DomElement
acceptCharset(String value)
Sets HTML attributeaccept-charset
.default String
accesskey()
Gets HTML attributeaccesskey
.default DomElement
accesskey(String value)
Sets HTML attributeaccesskey
.default String
accumulate()
Gets SVG attributeaccumulate
.default DomElement
accumulate(String value)
Sets SVG attributeaccumulate
.default String
action()
Gets HTML attributeaction
.default DomElement
action(String value)
Sets HTML attributeaction
.default String
additive()
Gets SVG attributeadditive
.default DomElement
additive(String value)
Sets SVG attributeadditive
.default String
alignmentBaseline()
Gets SVG attributealignment-baseline
.default DomElement
alignmentBaseline(String value)
Sets SVG attributealignment-baseline
.default String
allowfullscreen()
Gets HTML attributeallowfullscreen
.default DomElement
allowfullscreen(String value)
Sets HTML attributeallowfullscreen
.default String
alt()
Gets HTML attributealt
.default DomElement
alt(String value)
Sets HTML attributealt
.default String
amplitude()
Gets SVG attributeamplitude
.default DomElement
amplitude(double value)
Sets SVG attributeamplitude
to a floating-point value.default DomElement
amplitude(String value)
Sets SVG attributeamplitude
.default OptionalDouble
amplitudeAsDouble()
Gets SVG attributeamplitude
as a floating-point value.default DomElement
async()
Adds boolean HTML attributeasync
.default DomElement
async(boolean present)
Adds or removes boolean HTML attributeasync
.default boolean
asyncAsBoolean()
Gets boolean HTML attributeasync
.DomAttribute
attribute(String name)
boolean
attributeAsBoolean(String name)
OptionalDouble
attributeAsDouble(String name)
OptionalInt
attributeAsInt(String name)
String
attributeAsString(String name)
default String
attributeName()
Gets SVG attributeattributeName
.default DomElement
attributeName(String value)
Sets SVG attributeattributeName
.List<DomAttribute>
attributes()
default String
attributeType()
Gets SVG attributeattributeType
.default DomElement
attributeType(String value)
Sets SVG attributeattributeType
.default String
autocapitalize()
Gets HTML attributeautocapitalize
.default DomElement
autocapitalize(String value)
Sets HTML attributeautocapitalize
.default String
autocomplete()
Gets HTML attributeautocomplete
.default DomElement
autocomplete(String value)
Sets HTML attributeautocomplete
.default DomElement
autofocus()
Adds boolean HTML attributeautofocus
.default DomElement
autofocus(boolean present)
Adds or removes boolean HTML attributeautofocus
.default boolean
autofocusAsBoolean()
Gets boolean HTML attributeautofocus
.default DomElement
autoplay()
Adds boolean HTML attributeautoplay
.default DomElement
autoplay(boolean present)
Adds or removes boolean HTML attributeautoplay
.default boolean
autoplayAsBoolean()
Gets boolean HTML attributeautoplay
.default String
azimuth()
Gets SVG attributeazimuth
.default DomElement
azimuth(double value)
Sets SVG attributeazimuth
to a floating-point value.default DomElement
azimuth(String value)
Sets SVG attributeazimuth
.default OptionalDouble
azimuthAsDouble()
Gets SVG attributeazimuth
as a floating-point value.default String
baseFrequency()
Gets SVG attributebaseFrequency
.default DomElement
baseFrequency(double value)
Sets SVG attributebaseFrequency
to a floating-point value.default DomElement
baseFrequency(String value)
Sets SVG attributebaseFrequency
.default OptionalDouble
baseFrequencyAsDouble()
Gets SVG attributebaseFrequency
as a floating-point value.default String
baselineShift()
Gets SVG attributebaseline-shift
.default DomElement
baselineShift(double value)
Sets SVG attributebaseline-shift
to a floating-point value.default DomElement
baselineShift(String value)
Sets SVG attributebaseline-shift
.default OptionalDouble
baselineShiftAsDouble()
Gets SVG attributebaseline-shift
as a floating-point value.default String
begin()
Gets SVG attributebegin
.default DomElement
begin(String value)
Sets SVG attributebegin
.default String
bias()
Gets SVG attributebias
.default DomElement
bias(double value)
Sets SVG attributebias
to a floating-point value.default DomElement
bias(String value)
Sets SVG attributebias
.default OptionalDouble
biasAsDouble()
Gets SVG attributebias
as a floating-point value.default String
calcMode()
Gets SVG attributecalcMode
.default DomElement
calcMode(String value)
Sets SVG attributecalcMode
.default String
charset()
Gets HTML attributecharset
.default DomElement
charset(String value)
Sets HTML attributecharset
.default DomElement
checked()
Adds boolean HTML attributechecked
.default DomElement
checked(boolean present)
Adds or removes boolean HTML attributechecked
.default boolean
checkedAsBoolean()
Gets boolean HTML attributechecked
.default String
cite()
Gets HTML attributecite
.default DomElement
cite(String value)
Sets HTML attributecite
.default String
clazz()
Gets HTML/SVG attributeclass
.default DomElement
clazz(String value)
Sets HTML/SVG attributeclass
.default DomElement
clazz(String... classes)
Setsclass
attribute to an array of values.default String
clipPath()
Gets SVG attributeclip-path
.default DomElement
clipPath(String value)
Sets SVG attributeclip-path
.default String
clipPathUnits()
Gets SVG attributeclipPathUnits
.default DomElement
clipPathUnits(String value)
Sets SVG attributeclipPathUnits
.default String
clipRule()
Gets SVG attributeclip-rule
.default DomElement
clipRule(String value)
Sets SVG attributeclip-rule
.default String
color()
Gets SVG attributecolor
.default DomElement
color(String value)
Sets SVG attributecolor
.default String
colorInterpolation()
Gets SVG attributecolor-interpolation
.default DomElement
colorInterpolation(String value)
Sets SVG attributecolor-interpolation
.default String
colorInterpolationFilters()
Gets SVG attributecolor-interpolation-filters
.default DomElement
colorInterpolationFilters(String value)
Sets SVG attributecolor-interpolation-filters
.default String
colorProfile()
Gets SVG attributecolor-profile
.default DomElement
colorProfile(String value)
Sets SVG attributecolor-profile
.default String
colorRendering()
Gets SVG attributecolor-rendering
.default DomElement
colorRendering(String value)
Sets SVG attributecolor-rendering
.default String
cols()
Gets HTML attributecols
.default DomElement
cols(int value)
Sets HTML attributecols
to an integer value.default DomElement
cols(String value)
Sets HTML attributecols
.default OptionalInt
colsAsInt()
Gets HTML attributecols
as an integer value.default String
colspan()
Gets HTML attributecolspan
.default DomElement
colspan(int value)
Sets HTML attributecolspan
to an integer value.default DomElement
colspan(String value)
Sets HTML attributecolspan
.default OptionalInt
colspanAsInt()
Gets HTML attributecolspan
as an integer value.default String
content()
Gets HTML attributecontent
.default DomElement
content(String value)
Sets HTML attributecontent
.default String
contenteditable()
Gets HTML attributecontenteditable
.default DomElement
contenteditable(String value)
Sets HTML attributecontenteditable
.default String
contextmenu()
Gets HTML attributecontextmenu
.default DomElement
contextmenu(String value)
Sets HTML attributecontextmenu
.default DomElement
controls()
Adds boolean HTML attributecontrols
.default DomElement
controls(boolean present)
Adds or removes boolean HTML attributecontrols
.default boolean
controlsAsBoolean()
Gets boolean HTML attributecontrols
.default String
coords()
Gets HTML attributecoords
.default DomElement
coords(String value)
Sets HTML attributecoords
.default String
crossorigin()
Gets HTML attributecrossorigin
.default DomElement
crossorigin(String value)
Sets HTML attributecrossorigin
.default String
cursor()
Gets SVG attributecursor
.default DomElement
cursor(String value)
Sets SVG attributecursor
.default String
cx()
Gets SVG attributecx
.default DomElement
cx(double value)
Sets SVG attributecx
to a floating-point value.default DomElement
cx(String value)
Sets SVG attributecx
.default OptionalDouble
cxAsDouble()
Gets SVG attributecx
as a floating-point value.default String
cy()
Gets SVG attributecy
.default DomElement
cy(double value)
Sets SVG attributecy
to a floating-point value.default DomElement
cy(String value)
Sets SVG attributecy
.default OptionalDouble
cyAsDouble()
Gets SVG attributecy
as a floating-point value.default String
d()
Gets SVG attributed
.default DomElement
d(String value)
Sets SVG attributed
.default String
data(String key)
Getsdata-*
attribute.default DomElement
data(String key, String value)
Setsdata-*
attribute.default String
datetime()
Gets HTML attributedatetime
.default DomElement
datetime(String value)
Sets HTML attributedatetime
.default DomElement
defaults()
Adds boolean HTML attributedefault
.default DomElement
defaults(boolean present)
Adds or removes boolean HTML attributedefault
.default boolean
defaultsAsBoolean()
Gets boolean HTML attributedefault
.default DomElement
defer()
Adds boolean HTML attributedefer
.default DomElement
defer(boolean present)
Adds or removes boolean HTML attributedefer
.default boolean
deferAsBoolean()
Gets boolean HTML attributedefer
.default String
diffuseConstant()
Gets SVG attributediffuseConstant
.default DomElement
diffuseConstant(double value)
Sets SVG attributediffuseConstant
to a floating-point value.default DomElement
diffuseConstant(String value)
Sets SVG attributediffuseConstant
.default OptionalDouble
diffuseConstantAsDouble()
Gets SVG attributediffuseConstant
as a floating-point value.default String
dir()
Gets HTML attributedir
.default DomElement
dir(String value)
Sets HTML attributedir
.default String
direction()
Gets SVG attributedirection
.default DomElement
direction(String value)
Sets SVG attributedirection
.default DomElement
disabled()
Adds boolean HTML attributedisabled
.default DomElement
disabled(boolean present)
Adds or removes boolean HTML attributedisabled
.default boolean
disabledAsBoolean()
Gets boolean HTML attributedisabled
.default String
display()
Gets SVG attributedisplay
.default DomElement
display(String value)
Sets SVG attributedisplay
.default String
divisor()
Gets SVG attributedivisor
.default DomElement
divisor(double value)
Sets SVG attributedivisor
to a floating-point value.default DomElement
divisor(String value)
Sets SVG attributedivisor
.default OptionalDouble
divisorAsDouble()
Gets SVG attributedivisor
as a floating-point value.default String
dominantBaseline()
Gets SVG attributedominant-baseline
.default DomElement
dominantBaseline(String value)
Sets SVG attributedominant-baseline
.default DomElement
download()
Adds boolean HTML attributedownload
.default DomElement
download(boolean present)
Adds or removes boolean HTML attributedownload
.default boolean
downloadAsBoolean()
Gets boolean HTML attributedownload
.default String
draggable()
Gets HTML attributedraggable
.default DomElement
draggable(String value)
Sets HTML attributedraggable
.default String
dropzone()
Gets HTML attributedropzone
.default DomElement
dropzone(String value)
Sets HTML attributedropzone
.default String
dur()
Gets SVG attributedur
.default DomElement
dur(String value)
Sets SVG attributedur
.default String
dx()
Gets SVG attributedx
.default DomElement
dx(double value)
Sets SVG attributedx
to a floating-point value.default DomElement
dx(String value)
Sets SVG attributedx
.default OptionalDouble
dxAsDouble()
Gets SVG attributedx
as a floating-point value.default String
dy()
Gets SVG attributedy
.default DomElement
dy(double value)
Sets SVG attributedy
to a floating-point value.default DomElement
dy(String value)
Sets SVG attributedy
.default OptionalDouble
dyAsDouble()
Gets SVG attributedy
as a floating-point value.default String
edgeMode()
Gets SVG attributeedgeMode
.default DomElement
edgeMode(String value)
Sets SVG attributeedgeMode
.default String
elevation()
Gets SVG attributeelevation
.default DomElement
elevation(double value)
Sets SVG attributeelevation
to a floating-point value.default DomElement
elevation(String value)
Sets SVG attributeelevation
.default OptionalDouble
elevationAsDouble()
Gets SVG attributeelevation
as a floating-point value.default String
enctype()
Gets HTML attributeenctype
.default DomElement
enctype(String value)
Sets HTML attributeenctype
.default String
end()
Gets SVG attributeend
.default DomElement
end(String value)
Sets SVG attributeend
.default String
externalResourcesRequired()
Gets SVG attributeexternalResourcesRequired
.default DomElement
externalResourcesRequired(String value)
Sets SVG attributeexternalResourcesRequired
.default String
fill()
Gets SVG attributefill
.default DomElement
fill(String value)
Sets SVG attributefill
.default String
fillOpacity()
Gets SVG attributefill-opacity
.default DomElement
fillOpacity(double value)
Sets SVG attributefill-opacity
to a floating-point value.default DomElement
fillOpacity(String value)
Sets SVG attributefill-opacity
.default OptionalDouble
fillOpacityAsDouble()
Gets SVG attributefill-opacity
as a floating-point value.default String
fillRule()
Gets SVG attributefill-rule
.default DomElement
fillRule(String value)
Sets SVG attributefill-rule
.default String
filter()
Gets SVG attributefilter
.default DomElement
filter(String value)
Sets SVG attributefilter
.default String
filterUnits()
Gets SVG attributefilterUnits
.default DomElement
filterUnits(String value)
Sets SVG attributefilterUnits
.default String
floodColor()
Gets SVG attributeflood-color
.default DomElement
floodColor(String value)
Sets SVG attributeflood-color
.default String
floodOpacity()
Gets SVG attributeflood-opacity
.default DomElement
floodOpacity(double value)
Sets SVG attributeflood-opacity
to a floating-point value.default DomElement
floodOpacity(String value)
Sets SVG attributeflood-opacity
.default OptionalDouble
floodOpacityAsDouble()
Gets SVG attributeflood-opacity
as a floating-point value.default String
fontFamily()
Gets SVG attributefont-family
.default DomElement
fontFamily(String value)
Sets SVG attributefont-family
.default String
fontSize()
Gets SVG attributefont-size
.default DomElement
fontSize(String value)
Sets SVG attributefont-size
.default String
fontSizeAdjust()
Gets SVG attributefont-size-adjust
.default DomElement
fontSizeAdjust(double value)
Sets SVG attributefont-size-adjust
to a floating-point value.default DomElement
fontSizeAdjust(String value)
Sets SVG attributefont-size-adjust
.default OptionalDouble
fontSizeAdjustAsDouble()
Gets SVG attributefont-size-adjust
as a floating-point value.default String
fontStretch()
Gets SVG attributefont-stretch
.default DomElement
fontStretch(String value)
Sets SVG attributefont-stretch
.default String
fontVariant()
Gets SVG attributefont-variant
.default DomElement
fontVariant(String value)
Sets SVG attributefont-variant
.default String
fontWeight()
Gets SVG attributefont-weight
.default DomElement
fontWeight(int value)
Sets SVG attributefont-weight
to an integer value.default DomElement
fontWeight(String value)
Sets SVG attributefont-weight
.default OptionalInt
fontWeightAsInt()
Gets SVG attributefont-weight
as an integer value.default String
forid()
Gets HTML attributefor
.default DomElement
forid(String value)
Sets HTML attributefor
.default String
form()
Gets HTML attributeform
.default DomElement
form(String value)
Sets HTML attributeform
.default String
formaction()
Gets HTML attributeformaction
.default DomElement
formaction(String value)
Sets HTML attributeformaction
.default String
formmethod()
Gets HTML attributeformmethod
.default DomElement
formmethod(String value)
Sets HTML attributeformmethod
.default DomElement
formnovalidate()
Adds boolean HTML attributeformnovalidate
.default DomElement
formnovalidate(boolean present)
Adds or removes boolean HTML attributeformnovalidate
.default boolean
formnovalidateAsBoolean()
Gets boolean HTML attributeformnovalidate
.default String
formtarget()
Gets HTML attributeformtarget
.default DomElement
formtarget(String value)
Sets HTML attributeformtarget
.default String
fr()
Gets SVG attributefr
.default DomElement
fr(double value)
Sets SVG attributefr
to a floating-point value.default DomElement
fr(String value)
Sets SVG attributefr
.default OptionalDouble
frAsDouble()
Gets SVG attributefr
as a floating-point value.default String
from()
Gets SVG attributefrom
.default DomElement
from(String value)
Sets SVG attributefrom
.default String
fx()
Gets SVG attributefx
.default DomElement
fx(double value)
Sets SVG attributefx
to a floating-point value.default DomElement
fx(String value)
Sets SVG attributefx
.default OptionalDouble
fxAsDouble()
Gets SVG attributefx
as a floating-point value.default String
fy()
Gets SVG attributefy
.default DomElement
fy(double value)
Sets SVG attributefy
to a floating-point value.default DomElement
fy(String value)
Sets SVG attributefy
.default OptionalDouble
fyAsDouble()
Gets SVG attributefy
as a floating-point value.default String
gradientTransform()
Gets SVG attributegradientTransform
.default DomElement
gradientTransform(String value)
Sets SVG attributegradientTransform
.default String
gradientUnits()
Gets SVG attributegradientUnits
.default DomElement
gradientUnits(String value)
Sets SVG attributegradientUnits
.default String
headers()
Gets HTML attributeheaders
.default DomElement
headers(String value)
Sets HTML attributeheaders
.default String
height()
Gets HTML/SVG attributeheight
.default DomElement
height(double value)
Sets HTML/SVG attributeheight
to a floating-point value.default DomElement
height(int value)
Sets HTML/SVG attributeheight
to an integer value.default DomElement
height(String value)
Sets HTML/SVG attributeheight
.default OptionalDouble
heightAsDouble()
Gets HTML/SVG attributeheight
as a floating-point value.default OptionalInt
heightAsInt()
Gets HTML/SVG attributeheight
as an integer value.default DomElement
hidden()
Adds boolean HTML attributehidden
.default DomElement
hidden(boolean present)
Adds or removes boolean HTML attributehidden
.default boolean
hiddenAsBoolean()
Gets boolean HTML attributehidden
.default String
high()
Gets HTML attributehigh
.default DomElement
high(double value)
Sets HTML attributehigh
to a floating-point value.default DomElement
high(String value)
Sets HTML attributehigh
.default OptionalDouble
highAsDouble()
Gets HTML attributehigh
as a floating-point value.default String
href()
Gets HTML/SVG attributehref
.default DomElement
href(String value)
Sets HTML/SVG attributehref
.default String
hreflang()
Gets HTML attributehreflang
.default DomElement
hreflang(String value)
Sets HTML attributehreflang
.default String
httpEquiv()
Gets HTML attributehttp-equiv
.default DomElement
httpEquiv(String value)
Sets HTML attributehttp-equiv
.default String
icon()
Gets HTML attributeicon
.default DomElement
icon(String value)
Sets HTML attributeicon
.default String
imageRendering()
Gets SVG attributeimage-rendering
.default DomElement
imageRendering(String value)
Sets SVG attributeimage-rendering
.default String
in()
Gets SVG attributein
.default DomElement
in(String value)
Sets SVG attributein
.default String
in2()
Gets SVG attributein2
.default DomElement
in2(String value)
Sets SVG attributein2
.default String
inputmode()
Gets HTML attributeinputmode
.default DomElement
inputmode(String value)
Sets HTML attributeinputmode
.default String
integrity()
Gets HTML attributeintegrity
.default DomElement
integrity(String value)
Sets HTML attributeintegrity
.default DomElement
ismap()
Adds boolean HTML attributeismap
.default DomElement
ismap(boolean present)
Adds or removes boolean HTML attributeismap
.default boolean
ismapAsBoolean()
Gets boolean HTML attributeismap
.default String
k1()
Gets SVG attributek1
.default DomElement
k1(double value)
Sets SVG attributek1
to a floating-point value.default DomElement
k1(String value)
Sets SVG attributek1
.default OptionalDouble
k1AsDouble()
Gets SVG attributek1
as a floating-point value.default String
k2()
Gets SVG attributek2
.default DomElement
k2(double value)
Sets SVG attributek2
to a floating-point value.default DomElement
k2(String value)
Sets SVG attributek2
.default OptionalDouble
k2AsDouble()
Gets SVG attributek2
as a floating-point value.default String
k3()
Gets SVG attributek3
.default DomElement
k3(double value)
Sets SVG attributek3
to a floating-point value.default DomElement
k3(String value)
Sets SVG attributek3
.default OptionalDouble
k3AsDouble()
Gets SVG attributek3
as a floating-point value.default String
k4()
Gets SVG attributek4
.default DomElement
k4(double value)
Sets SVG attributek4
to a floating-point value.default DomElement
k4(String value)
Sets SVG attributek4
.default OptionalDouble
k4AsDouble()
Gets SVG attributek4
as a floating-point value.default String
kernelMatrix()
Gets SVG attributekernelMatrix
.default DomElement
kernelMatrix(String value)
Sets SVG attributekernelMatrix
.default String
kernelUnitLength()
Gets SVG attributekernelUnitLength
.default DomElement
kernelUnitLength(double value)
Sets SVG attributekernelUnitLength
to a floating-point value.default DomElement
kernelUnitLength(String value)
Sets SVG attributekernelUnitLength
.default OptionalDouble
kernelUnitLengthAsDouble()
Gets SVG attributekernelUnitLength
as a floating-point value.default String
kerning()
Gets SVG attributekerning
.default DomElement
kerning(double value)
Sets SVG attributekerning
to a floating-point value.default DomElement
kerning(String value)
Sets SVG attributekerning
.default OptionalDouble
kerningAsDouble()
Gets SVG attributekerning
as a floating-point value.default String
keySplines()
Gets SVG attributekeySplines
.default DomElement
keySplines(String value)
Sets SVG attributekeySplines
.default String
keyTimes()
Gets SVG attributekeyTimes
.default DomElement
keyTimes(String value)
Sets SVG attributekeyTimes
.default String
kind()
Gets HTML attributekind
.default DomElement
kind(String value)
Sets HTML attributekind
.default String
label()
Gets HTML attributelabel
.default DomElement
label(String value)
Sets HTML attributelabel
.default String
lang()
Gets HTML attributelang
.default DomElement
lang(String value)
Sets HTML attributelang
.default String
language()
Gets HTML attributelanguage
.default DomElement
language(String value)
Sets HTML attributelanguage
.default String
letterSpacing()
Gets SVG attributeletter-spacing
.default DomElement
letterSpacing(double value)
Sets SVG attributeletter-spacing
to a floating-point value.default DomElement
letterSpacing(String value)
Sets SVG attributeletter-spacing
.default OptionalDouble
letterSpacingAsDouble()
Gets SVG attributeletter-spacing
as a floating-point value.default String
lightingColor()
Gets SVG attributelighting-color
.default DomElement
lightingColor(String value)
Sets SVG attributelighting-color
.default String
limitingConeAngle()
Gets SVG attributelimitingConeAngle
.default DomElement
limitingConeAngle(double value)
Sets SVG attributelimitingConeAngle
to a floating-point value.default DomElement
limitingConeAngle(String value)
Sets SVG attributelimitingConeAngle
.default OptionalDouble
limitingConeAngleAsDouble()
Gets SVG attributelimitingConeAngle
as a floating-point value.default String
list()
Gets HTML attributelist
.default DomElement
list(String value)
Sets HTML attributelist
.default String
local()
Gets SVG attributelocal
.default DomElement
local(String value)
Sets SVG attributelocal
.default DomElement
loop()
Adds boolean HTML attributeloop
.default DomElement
loop(boolean present)
Adds or removes boolean HTML attributeloop
.default boolean
loopAsBoolean()
Gets boolean HTML attributeloop
.default String
low()
Gets HTML attributelow
.default DomElement
low(double value)
Sets HTML attributelow
to a floating-point value.default DomElement
low(String value)
Sets HTML attributelow
.default OptionalDouble
lowAsDouble()
Gets HTML attributelow
as a floating-point value.default String
markerEnd()
Gets SVG attributemarker-end
.default DomElement
markerEnd(String value)
Sets SVG attributemarker-end
.default String
markerHeight()
Gets SVG attributemarkerHeight
.default DomElement
markerHeight(double value)
Sets SVG attributemarkerHeight
to a floating-point value.default DomElement
markerHeight(String value)
Sets SVG attributemarkerHeight
.default OptionalDouble
markerHeightAsDouble()
Gets SVG attributemarkerHeight
as a floating-point value.default String
markerMid()
Gets SVG attributemarker-mid
.default DomElement
markerMid(String value)
Sets SVG attributemarker-mid
.default String
markerStart()
Gets SVG attributemarker-start
.default DomElement
markerStart(String value)
Sets SVG attributemarker-start
.default String
markerUnits()
Gets SVG attributemarkerUnits
.default DomElement
markerUnits(String value)
Sets SVG attributemarkerUnits
.default String
markerWidth()
Gets SVG attributemarkerWidth
.default DomElement
markerWidth(double value)
Sets SVG attributemarkerWidth
to a floating-point value.default DomElement
markerWidth(String value)
Sets SVG attributemarkerWidth
.default OptionalDouble
markerWidthAsDouble()
Gets SVG attributemarkerWidth
as a floating-point value.default String
mask()
Gets SVG attributemask
.default DomElement
mask(String value)
Sets SVG attributemask
.default String
maskContentUnits()
Gets SVG attributemaskContentUnits
.default DomElement
maskContentUnits(String value)
Sets SVG attributemaskContentUnits
.default String
maskUnits()
Gets SVG attributemaskUnits
.default DomElement
maskUnits(String value)
Sets SVG attributemaskUnits
.default String
max()
Gets HTML/SVG attributemax
.default DomElement
max(double value)
Sets HTML/SVG attributemax
to a floating-point value.default DomElement
max(String value)
Sets HTML/SVG attributemax
.default OptionalDouble
maxAsDouble()
Gets HTML/SVG attributemax
as a floating-point value.default String
maxlength()
Gets HTML attributemaxlength
.default DomElement
maxlength(int value)
Sets HTML attributemaxlength
to an integer value.default DomElement
maxlength(String value)
Sets HTML attributemaxlength
.default OptionalInt
maxlengthAsInt()
Gets HTML attributemaxlength
as an integer value.default String
media()
Gets HTML attributemedia
.default DomElement
media(String value)
Sets HTML attributemedia
.default String
method()
Gets HTML attributemethod
.default DomElement
method(String value)
Sets HTML attributemethod
.default String
min()
Gets HTML/SVG attributemin
.default DomElement
min(double value)
Sets HTML/SVG attributemin
to a floating-point value.default DomElement
min(String value)
Sets HTML/SVG attributemin
.default OptionalDouble
minAsDouble()
Gets HTML/SVG attributemin
as a floating-point value.default String
minlength()
Gets HTML attributeminlength
.default DomElement
minlength(int value)
Sets HTML attributeminlength
to an integer value.default DomElement
minlength(String value)
Sets HTML attributeminlength
.default OptionalInt
minlengthAsInt()
Gets HTML attributeminlength
as an integer value.default String
mode()
Gets SVG attributemode
.default DomElement
mode(String value)
Sets SVG attributemode
.default DomElement
multiple()
Adds boolean HTML attributemultiple
.default DomElement
multiple(boolean present)
Adds or removes boolean HTML attributemultiple
.default boolean
multipleAsBoolean()
Gets boolean HTML attributemultiple
.default DomElement
muted()
Adds boolean HTML attributemuted
.default DomElement
muted(boolean present)
Adds or removes boolean HTML attributemuted
.default boolean
mutedAsBoolean()
Gets boolean HTML attributemuted
.default String
name()
Gets HTML attributename
.default DomElement
name(String value)
Sets HTML attributename
.default DomElement
novalidate()
Adds boolean HTML attributenovalidate
.default DomElement
novalidate(boolean present)
Adds or removes boolean HTML attributenovalidate
.default boolean
novalidateAsBoolean()
Gets boolean HTML attributenovalidate
.default String
numOctaves()
Gets SVG attributenumOctaves
.default DomElement
numOctaves(int value)
Sets SVG attributenumOctaves
to an integer value.default DomElement
numOctaves(String value)
Sets SVG attributenumOctaves
.default OptionalInt
numOctavesAsInt()
Gets SVG attributenumOctaves
as an integer value.default String
opacity()
Gets SVG attributeopacity
.default DomElement
opacity(double value)
Sets SVG attributeopacity
to a floating-point value.default DomElement
opacity(String value)
Sets SVG attributeopacity
.default OptionalDouble
opacityAsDouble()
Gets SVG attributeopacity
as a floating-point value.default DomElement
open()
Adds boolean HTML attributeopen
.default DomElement
open(boolean present)
Adds or removes boolean HTML attributeopen
.default boolean
openAsBoolean()
Gets boolean HTML attributeopen
.default String
operator()
Gets SVG attributeoperator
.default DomElement
operator(String value)
Sets SVG attributeoperator
.default String
optimum()
Gets HTML attributeoptimum
.default DomElement
optimum(double value)
Sets HTML attributeoptimum
to a floating-point value.default DomElement
optimum(String value)
Sets HTML attributeoptimum
.default OptionalDouble
optimumAsDouble()
Gets HTML attributeoptimum
as a floating-point value.default String
order()
Gets SVG attributeorder
.default DomElement
order(int value)
Sets SVG attributeorder
to an integer value.default DomElement
order(String value)
Sets SVG attributeorder
.default OptionalInt
orderAsInt()
Gets SVG attributeorder
as an integer value.default String
overflow()
Gets SVG attributeoverflow
.default DomElement
overflow(String value)
Sets SVG attributeoverflow
.default String
overlinePosition()
Gets SVG attributeoverline-position
.default DomElement
overlinePosition(double value)
Sets SVG attributeoverline-position
to a floating-point value.default DomElement
overlinePosition(String value)
Sets SVG attributeoverline-position
.default OptionalDouble
overlinePositionAsDouble()
Gets SVG attributeoverline-position
as a floating-point value.default String
overlineThickness()
Gets SVG attributeoverline-thickness
.default DomElement
overlineThickness(double value)
Sets SVG attributeoverline-thickness
to a floating-point value.default DomElement
overlineThickness(String value)
Sets SVG attributeoverline-thickness
.default OptionalDouble
overlineThicknessAsDouble()
Gets SVG attributeoverline-thickness
as a floating-point value.default String
paintOrder()
Gets SVG attributepaint-order
.default DomElement
paintOrder(String value)
Sets SVG attributepaint-order
.default String
pathLength()
Gets SVG attributepathLength
.default DomElement
pathLength(double value)
Sets SVG attributepathLength
to a floating-point value.default DomElement
pathLength(String value)
Sets SVG attributepathLength
.default OptionalDouble
pathLengthAsDouble()
Gets SVG attributepathLength
as a floating-point value.default String
pattern()
Gets HTML attributepattern
.default DomElement
pattern(String value)
Sets HTML attributepattern
.default String
patternContentUnits()
Gets SVG attributepatternContentUnits
.default DomElement
patternContentUnits(String value)
Sets SVG attributepatternContentUnits
.default String
patternTransform()
Gets SVG attributepatternTransform
.default DomElement
patternTransform(String value)
Sets SVG attributepatternTransform
.default String
patternUnits()
Gets SVG attributepatternUnits
.default DomElement
patternUnits(String value)
Sets SVG attributepatternUnits
.default DomElement
ping()
Adds boolean HTML attributeping
.default DomElement
ping(boolean present)
Adds or removes boolean HTML attributeping
.default boolean
pingAsBoolean()
Gets boolean HTML attributeping
.default String
placeholder()
Gets HTML attributeplaceholder
.default DomElement
placeholder(String value)
Sets HTML attributeplaceholder
.default String
plaindata()
Gets HTML attributedata
.default DomElement
plaindata(String value)
Sets HTML attributedata
.default String
pointerEvents()
Gets SVG attributepointer-events
.default DomElement
pointerEvents(String value)
Sets SVG attributepointer-events
.default String
points()
Gets SVG attributepoints
.default DomElement
points(String value)
Sets SVG attributepoints
.default String
pointsAtX()
Gets SVG attributepointsAtX
.default DomElement
pointsAtX(double value)
Sets SVG attributepointsAtX
to a floating-point value.default DomElement
pointsAtX(String value)
Sets SVG attributepointsAtX
.default OptionalDouble
pointsAtXAsDouble()
Gets SVG attributepointsAtX
as a floating-point value.default String
pointsAtY()
Gets SVG attributepointsAtY
.default DomElement
pointsAtY(double value)
Sets SVG attributepointsAtY
to a floating-point value.default DomElement
pointsAtY(String value)
Sets SVG attributepointsAtY
.default OptionalDouble
pointsAtYAsDouble()
Gets SVG attributepointsAtY
as a floating-point value.default String
pointsAtZ()
Gets SVG attributepointsAtZ
.default DomElement
pointsAtZ(double value)
Sets SVG attributepointsAtZ
to a floating-point value.default DomElement
pointsAtZ(String value)
Sets SVG attributepointsAtZ
.default OptionalDouble
pointsAtZAsDouble()
Gets SVG attributepointsAtZ
as a floating-point value.default String
poster()
Gets HTML attributeposter
.default DomElement
poster(String value)
Sets HTML attributeposter
.default String
preload()
Gets HTML attributepreload
.default DomElement
preload(String value)
Sets HTML attributepreload
.default String
preserveAlpha()
Gets SVG attributepreserveAlpha
.default DomElement
preserveAlpha(String value)
Sets SVG attributepreserveAlpha
.default String
preserveAspectRatio()
Gets SVG attributepreserveAspectRatio
.default DomElement
preserveAspectRatio(String value)
Sets SVG attributepreserveAspectRatio
.default String
primitiveUnits()
Gets SVG attributeprimitiveUnits
.default DomElement
primitiveUnits(String value)
Sets SVG attributeprimitiveUnits
.default String
r()
Gets SVG attributer
.default DomElement
r(double value)
Sets SVG attributer
to a floating-point value.default DomElement
r(String value)
Sets SVG attributer
.default String
radiogroup()
Gets HTML attributeradiogroup
.default DomElement
radiogroup(String value)
Sets HTML attributeradiogroup
.default String
radius()
Gets SVG attributeradius
.default DomElement
radius(double value)
Sets SVG attributeradius
to a floating-point value.default DomElement
radius(String value)
Sets SVG attributeradius
.default OptionalDouble
radiusAsDouble()
Gets SVG attributeradius
as a floating-point value.default OptionalDouble
rAsDouble()
Gets SVG attributer
as a floating-point value.default DomElement
readonly()
Adds boolean HTML attributereadonly
.default DomElement
readonly(boolean present)
Adds or removes boolean HTML attributereadonly
.default boolean
readonlyAsBoolean()
Gets boolean HTML attributereadonly
.default String
refX()
Gets SVG attributerefX
.default DomElement
refX(double value)
Sets SVG attributerefX
to a floating-point value.default DomElement
refX(String value)
Sets SVG attributerefX
.default OptionalDouble
refXAsDouble()
Gets SVG attributerefX
as a floating-point value.default String
refy()
Gets SVG attributerefy
.default DomElement
refy(double value)
Sets SVG attributerefy
to a floating-point value.default DomElement
refy(String value)
Sets SVG attributerefy
.default OptionalDouble
refyAsDouble()
Gets SVG attributerefy
as a floating-point value.default String
rel()
Gets HTML attributerel
.default DomElement
rel(String value)
Sets HTML attributerel
.default String
repeatCount()
Gets SVG attributerepeatCount
.default DomElement
repeatCount(double value)
Sets SVG attributerepeatCount
to a floating-point value.default DomElement
repeatCount(String value)
Sets SVG attributerepeatCount
.default OptionalDouble
repeatCountAsDouble()
Gets SVG attributerepeatCount
as a floating-point value.default String
repeatDur()
Gets SVG attributerepeatDur
.default DomElement
repeatDur(String value)
Sets SVG attributerepeatDur
.default DomElement
required()
Adds boolean HTML attributerequired
.default DomElement
required(boolean present)
Adds or removes boolean HTML attributerequired
.default boolean
requiredAsBoolean()
Gets boolean HTML attributerequired
.default String
requiredFeatures()
Gets SVG attributerequiredFeatures
.default DomElement
requiredFeatures(String value)
Sets SVG attributerequiredFeatures
.default String
restart()
Gets SVG attributerestart
.default DomElement
restart(String value)
Sets SVG attributerestart
.default String
result()
Gets SVG attributeresult
.default DomElement
result(String value)
Sets SVG attributeresult
.default DomElement
reversed()
Adds boolean HTML attributereversed
.default DomElement
reversed(boolean present)
Adds or removes boolean HTML attributereversed
.default boolean
reversedAsBoolean()
Gets boolean HTML attributereversed
.default String
role()
Gets HTML attributerole
.default DomElement
role(String value)
Sets HTML attributerole
.default String
rows()
Gets HTML attributerows
.default DomElement
rows(int value)
Sets HTML attributerows
to an integer value.default DomElement
rows(String value)
Sets HTML attributerows
.default OptionalInt
rowsAsInt()
Gets HTML attributerows
as an integer value.default String
rowspan()
Gets HTML attributerowspan
.default DomElement
rowspan(int value)
Sets HTML attributerowspan
to an integer value.default DomElement
rowspan(String value)
Sets HTML attributerowspan
.default OptionalInt
rowspanAsInt()
Gets HTML attributerowspan
as an integer value.default String
rx()
Gets SVG attributerx
.default DomElement
rx(double value)
Sets SVG attributerx
to a floating-point value.default DomElement
rx(String value)
Sets SVG attributerx
.default OptionalDouble
rxAsDouble()
Gets SVG attributerx
as a floating-point value.default String
ry()
Gets SVG attributery
.default DomElement
ry(double value)
Sets SVG attributery
to a floating-point value.default DomElement
ry(String value)
Sets SVG attributery
.default OptionalDouble
ryAsDouble()
Gets SVG attributery
as a floating-point value.default String
sandbox()
Gets HTML attributesandbox
.default DomElement
sandbox(String value)
Sets HTML attributesandbox
.default String
scale()
Gets SVG attributescale
.default DomElement
scale(double value)
Sets SVG attributescale
to a floating-point value.default DomElement
scale(String value)
Sets SVG attributescale
.default OptionalDouble
scaleAsDouble()
Gets SVG attributescale
as a floating-point value.default String
scope()
Gets HTML attributescope
.default DomElement
scope(String value)
Sets HTML attributescope
.default String
seed()
Gets SVG attributeseed
.default DomElement
seed(double value)
Sets SVG attributeseed
to a floating-point value.default DomElement
seed(String value)
Sets SVG attributeseed
.default OptionalDouble
seedAsDouble()
Gets SVG attributeseed
as a floating-point value.default DomElement
selected()
Adds boolean HTML attributeselected
.default DomElement
selected(boolean present)
Adds or removes boolean HTML attributeselected
.default boolean
selectedAsBoolean()
Gets boolean HTML attributeselected
.default String
selectionDirection()
Gets HTML attributeselectionDirection
.default DomElement
selectionDirection(String value)
Sets HTML attributeselectionDirection
.default String
selectionEnd()
Gets HTML attributeselectionEnd
.default DomElement
selectionEnd(int value)
Sets HTML attributeselectionEnd
to an integer value.default DomElement
selectionEnd(String value)
Sets HTML attributeselectionEnd
.default OptionalInt
selectionEndAsInt()
Gets HTML attributeselectionEnd
as an integer value.default String
selectionStart()
Gets HTML attributeselectionStart
.default DomElement
selectionStart(int value)
Sets HTML attributeselectionStart
to an integer value.default DomElement
selectionStart(String value)
Sets HTML attributeselectionStart
.default OptionalInt
selectionStartAsInt()
Gets HTML attributeselectionStart
as an integer value.DomElement
set(DomAttribute attribute)
DomElement
set(String name)
DomElement
set(String name, boolean value)
DomElement
set(String name, double value)
DomElement
set(String name, int value)
DomElement
set(String name, String value)
default String
shape()
Gets HTML attributeshape
.default DomElement
shape(String value)
Sets HTML attributeshape
.default String
shapeRendering()
Gets SVG attributeshape-rendering
.default DomElement
shapeRendering(String value)
Sets SVG attributeshape-rendering
.default String
size()
Gets HTML attributesize
.default DomElement
size(int value)
Sets HTML attributesize
to an integer value.default DomElement
size(String value)
Sets HTML attributesize
.default OptionalInt
sizeAsInt()
Gets HTML attributesize
as an integer value.default String
sizes()
Gets HTML attributesizes
.default DomElement
sizes(String value)
Sets HTML attributesizes
.default String
slot()
Gets HTML attributeslot
.default DomElement
slot(String value)
Sets HTML attributeslot
.default String
span()
Gets HTML attributespan
.default DomElement
span(int value)
Sets HTML attributespan
to an integer value.default DomElement
span(String value)
Sets HTML attributespan
.default OptionalInt
spanAsInt()
Gets HTML attributespan
as an integer value.default String
specularConstant()
Gets SVG attributespecularConstant
.default DomElement
specularConstant(double value)
Sets SVG attributespecularConstant
to a floating-point value.default DomElement
specularConstant(String value)
Sets SVG attributespecularConstant
.default OptionalDouble
specularConstantAsDouble()
Gets SVG attributespecularConstant
as a floating-point value.default String
specularExponent()
Gets SVG attributespecularExponent
.default DomElement
specularExponent(double value)
Sets SVG attributespecularExponent
to a floating-point value.default DomElement
specularExponent(String value)
Sets SVG attributespecularExponent
.default OptionalDouble
specularExponentAsDouble()
Gets SVG attributespecularExponent
as a floating-point value.default String
spellcheck()
Gets HTML attributespellcheck
.default DomElement
spellcheck(String value)
Sets HTML attributespellcheck
.default String
src()
Gets HTML attributesrc
.default DomElement
src(String value)
Sets HTML attributesrc
.default String
srcdoc()
Gets HTML attributesrcdoc
.default DomElement
srcdoc(String value)
Sets HTML attributesrcdoc
.default String
srclang()
Gets HTML attributesrclang
.default DomElement
srclang(String value)
Sets HTML attributesrclang
.default String
srcset()
Gets HTML attributesrcset
.default DomElement
srcset(String value)
Sets HTML attributesrcset
.default String
start()
Gets HTML attributestart
.default DomElement
start(int value)
Sets HTML attributestart
to an integer value.default DomElement
start(String value)
Sets HTML attributestart
.default OptionalInt
startAsInt()
Gets HTML attributestart
as an integer value.default String
stdDeviation()
Gets SVG attributestdDeviation
.default DomElement
stdDeviation(double value)
Sets SVG attributestdDeviation
to a floating-point value.default DomElement
stdDeviation(String value)
Sets SVG attributestdDeviation
.default OptionalDouble
stdDeviationAsDouble()
Gets SVG attributestdDeviation
as a floating-point value.default String
step()
Gets HTML attributestep
.default DomElement
step(double value)
Sets HTML attributestep
to a floating-point value.default DomElement
step(String value)
Sets HTML attributestep
.default OptionalDouble
stepAsDouble()
Gets HTML attributestep
as a floating-point value.default String
stitchTiles()
Gets SVG attributestitchTiles
.default DomElement
stitchTiles(String value)
Sets SVG attributestitchTiles
.default String
stopColor()
Gets SVG attributestop-color
.default DomElement
stopColor(String value)
Sets SVG attributestop-color
.default String
stopOpacity()
Gets SVG attributestop-opacity
.default DomElement
stopOpacity(double value)
Sets SVG attributestop-opacity
to a floating-point value.default DomElement
stopOpacity(String value)
Sets SVG attributestop-opacity
.default OptionalDouble
stopOpacityAsDouble()
Gets SVG attributestop-opacity
as a floating-point value.default String
strikethroughPosition()
Gets SVG attributestrikethrough-position
.default DomElement
strikethroughPosition(double value)
Sets SVG attributestrikethrough-position
to a floating-point value.default DomElement
strikethroughPosition(String value)
Sets SVG attributestrikethrough-position
.default OptionalDouble
strikethroughPositionAsDouble()
Gets SVG attributestrikethrough-position
as a floating-point value.default String
strikethroughThickness()
Gets SVG attributestrikethrough-thickness
.default DomElement
strikethroughThickness(double value)
Sets SVG attributestrikethrough-thickness
to a floating-point value.default DomElement
strikethroughThickness(String value)
Sets SVG attributestrikethrough-thickness
.default OptionalDouble
strikethroughThicknessAsDouble()
Gets SVG attributestrikethrough-thickness
as a floating-point value.default String
stroke()
Gets SVG attributestroke
.default DomElement
stroke(String value)
Sets SVG attributestroke
.default String
strokeDasharray()
Gets SVG attributestroke-dasharray
.default DomElement
strokeDasharray(String value)
Sets SVG attributestroke-dasharray
.default String
strokeDashoffset()
Gets SVG attributestroke-dashoffset
.default DomElement
strokeDashoffset(double value)
Sets SVG attributestroke-dashoffset
to a floating-point value.default DomElement
strokeDashoffset(String value)
Sets SVG attributestroke-dashoffset
.default OptionalDouble
strokeDashoffsetAsDouble()
Gets SVG attributestroke-dashoffset
as a floating-point value.default String
strokeLinecap()
Gets SVG attributestroke-linecap
.default DomElement
strokeLinecap(String value)
Sets SVG attributestroke-linecap
.default String
strokeLinejoin()
Gets SVG attributestroke-linejoin
.default DomElement
strokeLinejoin(String value)
Sets SVG attributestroke-linejoin
.default String
strokeMiterlimit()
Gets SVG attributestroke-miterlimit
.default DomElement
strokeMiterlimit(double value)
Sets SVG attributestroke-miterlimit
to a floating-point value.default DomElement
strokeMiterlimit(String value)
Sets SVG attributestroke-miterlimit
.default OptionalDouble
strokeMiterlimitAsDouble()
Gets SVG attributestroke-miterlimit
as a floating-point value.default String
strokeOpacity()
Gets SVG attributestroke-opacity
.default DomElement
strokeOpacity(double value)
Sets SVG attributestroke-opacity
to a floating-point value.default DomElement
strokeOpacity(String value)
Sets SVG attributestroke-opacity
.default OptionalDouble
strokeOpacityAsDouble()
Gets SVG attributestroke-opacity
as a floating-point value.default String
strokeWidth()
Gets SVG attributestroke-width
.default DomElement
strokeWidth(double value)
Sets SVG attributestroke-width
to a floating-point value.default DomElement
strokeWidth(String value)
Sets SVG attributestroke-width
.default OptionalDouble
strokeWidthAsDouble()
Gets SVG attributestroke-width
as a floating-point value.default String
style()
Gets HTML/SVG attributestyle
.default DomElement
style(String value)
Sets HTML/SVG attributestyle
.default String
surfaceScale()
Gets SVG attributesurfaceScale
.default DomElement
surfaceScale(double value)
Sets SVG attributesurfaceScale
to a floating-point value.default DomElement
surfaceScale(String value)
Sets SVG attributesurfaceScale
.default OptionalDouble
surfaceScaleAsDouble()
Gets SVG attributesurfaceScale
as a floating-point value.default String
systemLanguage()
Gets SVG attributesystemLanguage
.default DomElement
systemLanguage(String value)
Sets SVG attributesystemLanguage
.default String
tabindex()
Gets HTML/SVG attributetabindex
.default DomElement
tabindex(int value)
Sets HTML/SVG attributetabindex
to an integer value.default DomElement
tabindex(String value)
Sets HTML/SVG attributetabindex
.default OptionalInt
tabindexAsInt()
Gets HTML/SVG attributetabindex
as an integer value.default String
target()
Gets HTML attributetarget
.default DomElement
target(String value)
Sets HTML attributetarget
.default String
targetX()
Gets SVG attributetargetX
.default DomElement
targetX(double value)
Sets SVG attributetargetX
to a floating-point value.default DomElement
targetX(String value)
Sets SVG attributetargetX
.default OptionalDouble
targetXAsDouble()
Gets SVG attributetargetX
as a floating-point value.default String
targetY()
Gets SVG attributetargetY
.default DomElement
targetY(double value)
Sets SVG attributetargetY
to a floating-point value.default DomElement
targetY(String value)
Sets SVG attributetargetY
.default OptionalDouble
targetYAsDouble()
Gets SVG attributetargetY
as a floating-point value.default String
textAnchor()
Gets SVG attributetext-anchor
.default DomElement
textAnchor(String value)
Sets SVG attributetext-anchor
.default String
textDecoration()
Gets SVG attributetext-decoration
.default DomElement
textDecoration(String value)
Sets SVG attributetext-decoration
.default String
textLength()
Gets SVG attributetextLength
.default DomElement
textLength(double value)
Sets SVG attributetextLength
to a floating-point value.default DomElement
textLength(String value)
Sets SVG attributetextLength
.default OptionalDouble
textLengthAsDouble()
Gets SVG attributetextLength
as a floating-point value.default String
textRendering()
Gets SVG attributetext-rendering
.default DomElement
textRendering(String value)
Sets SVG attributetext-rendering
.default String
title()
Gets HTML attributetitle
.default DomElement
title(String value)
Sets HTML attributetitle
.default String
to()
Gets SVG attributeto
.default DomElement
to(String value)
Sets SVG attributeto
.default String
transform()
Gets SVG attributetransform
.default DomElement
transform(String value)
Sets SVG attributetransform
.default String
type()
Gets HTML/SVG attributetype
.default DomElement
type(String value)
Sets HTML/SVG attributetype
.default DomElement
typemustmatch()
Adds boolean HTML attributetypemustmatch
.default DomElement
typemustmatch(boolean present)
Adds or removes boolean HTML attributetypemustmatch
.default boolean
typemustmatchAsBoolean()
Gets boolean HTML attributetypemustmatch
.default String
underlinePosition()
Gets SVG attributeunderline-position
.default DomElement
underlinePosition(double value)
Sets SVG attributeunderline-position
to a floating-point value.default DomElement
underlinePosition(String value)
Sets SVG attributeunderline-position
.default OptionalDouble
underlinePositionAsDouble()
Gets SVG attributeunderline-position
as a floating-point value.default String
underlineThickness()
Gets SVG attributeunderline-thickness
.default DomElement
underlineThickness(double value)
Sets SVG attributeunderline-thickness
to a floating-point value.default DomElement
underlineThickness(String value)
Sets SVG attributeunderline-thickness
.default OptionalDouble
underlineThicknessAsDouble()
Gets SVG attributeunderline-thickness
as a floating-point value.DomElement
unset(String name)
default String
usemap()
Gets HTML attributeusemap
.default DomElement
usemap(String value)
Sets HTML attributeusemap
.default String
value()
Gets HTML attributevalue
.default DomElement
value(double value)
Sets HTML attributevalue
to a floating-point value.default DomElement
value(String value)
Sets HTML attributevalue
.default OptionalDouble
valueAsDouble()
Gets HTML attributevalue
as a floating-point value.default String
values()
Gets SVG attributevalues
.default DomElement
values(String value)
Sets SVG attributevalues
.default String
vectorEffect()
Gets SVG attributevector-effect
.default DomElement
vectorEffect(String value)
Sets SVG attributevector-effect
.default String
version()
Gets SVG attributeversion
.default DomElement
version(String value)
Sets SVG attributeversion
.default String
viewBox()
Gets SVG attributeviewBox
.default DomElement
viewBox(String value)
Sets SVG attributeviewBox
.default String
visibility()
Gets SVG attributevisibility
.default DomElement
visibility(String value)
Sets SVG attributevisibility
.default String
volume()
Gets HTML attributevolume
.default DomElement
volume(double value)
Sets HTML attributevolume
to a floating-point value.default DomElement
volume(String value)
Sets HTML attributevolume
.default OptionalDouble
volumeAsDouble()
Gets HTML attributevolume
as a floating-point value.default String
width()
Gets HTML/SVG attributewidth
.default DomElement
width(double value)
Sets HTML/SVG attributewidth
to a floating-point value.default DomElement
width(int value)
Sets HTML/SVG attributewidth
to an integer value.default DomElement
width(String value)
Sets HTML/SVG attributewidth
.default OptionalDouble
widthAsDouble()
Gets HTML/SVG attributewidth
as a floating-point value.default OptionalInt
widthAsInt()
Gets HTML/SVG attributewidth
as an integer value.default String
wordSpacing()
Gets SVG attributeword-spacing
.default DomElement
wordSpacing(double value)
Sets SVG attributeword-spacing
to a floating-point value.default DomElement
wordSpacing(String value)
Sets SVG attributeword-spacing
.default OptionalDouble
wordSpacingAsDouble()
Gets SVG attributeword-spacing
as a floating-point value.default String
wrap()
Gets HTML attributewrap
.default DomElement
wrap(String value)
Sets HTML attributewrap
.default String
writingMode()
Gets SVG attributewriting-mode
.default DomElement
writingMode(String value)
Sets SVG attributewriting-mode
.default String
x()
Gets SVG attributex
.default DomElement
x(double value)
Sets SVG attributex
to a floating-point value.default DomElement
x(String value)
Sets SVG attributex
.default String
x1()
Gets SVG attributex1
.default DomElement
x1(double value)
Sets SVG attributex1
to a floating-point value.default DomElement
x1(String value)
Sets SVG attributex1
.default OptionalDouble
x1AsDouble()
Gets SVG attributex1
as a floating-point value.default String
x2()
Gets SVG attributex2
.default DomElement
x2(double value)
Sets SVG attributex2
to a floating-point value.default DomElement
x2(String value)
Sets SVG attributex2
.default OptionalDouble
x2AsDouble()
Gets SVG attributex2
as a floating-point value.default OptionalDouble
xAsDouble()
Gets SVG attributex
as a floating-point value.default String
xChannelSelector()
Gets SVG attributexChannelSelector
.default DomElement
xChannelSelector(String value)
Sets SVG attributexChannelSelector
.default String
y()
Gets SVG attributey
.default DomElement
y(double value)
Sets SVG attributey
to a floating-point value.default DomElement
y(String value)
Sets SVG attributey
.default String
y1()
Gets SVG attributey1
.default DomElement
y1(double value)
Sets SVG attributey1
to a floating-point value.default DomElement
y1(String value)
Sets SVG attributey1
.default OptionalDouble
y1AsDouble()
Gets SVG attributey1
as a floating-point value.default String
y2()
Gets SVG attributey2
.default DomElement
y2(double value)
Sets SVG attributey2
to a floating-point value.default DomElement
y2(String value)
Sets SVG attributey2
.default OptionalDouble
y2AsDouble()
Gets SVG attributey2
as a floating-point value.default OptionalDouble
yAsDouble()
Gets SVG attributey
as a floating-point value.default String
yChannelSelector()
Gets SVG attributeyChannelSelector
.default DomElement
yChannelSelector(String value)
Sets SVG attributeyChannelSelector
.default String
z()
Gets SVG attributez
.default DomElement
z(double value)
Sets SVG attributez
to a floating-point value.default DomElement
z(String value)
Sets SVG attributez
.default OptionalDouble
zAsDouble()
Gets SVG attributez
as a floating-point value.
-
-
-
Method Detail
-
set
DomElement set(String name, String value)
-
set
DomElement set(String name, boolean value)
-
set
DomElement set(String name)
-
set
DomElement set(String name, int value)
-
set
DomElement set(String name, double value)
-
set
DomElement set(DomAttribute attribute)
-
unset
DomElement unset(String name)
-
attributes
List<DomAttribute> attributes()
-
attribute
DomAttribute attribute(String name)
-
attributeAsBoolean
boolean attributeAsBoolean(String name)
-
attributeAsInt
OptionalInt attributeAsInt(String name)
-
attributeAsDouble
OptionalDouble attributeAsDouble(String name)
-
clazz
default DomElement clazz(String... classes)
Setsclass
attribute to an array of values. Array items are joined with spaces and the attribute is set to the resulting string. Ifclasses
isnull
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)
Setsdata-*
attribute. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
key
- unprefixed name of the attribute, e.g. keyhello
for attributedata-hello
-
value
- new value of thedata-*
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen -
NullPointerException
- if thekey
isnull
-
data
default String data(String key)
Getsdata-*
attribute.- Parameters:
-
key
- unprefixed name of the attribute, e.g. keyhello
for attributedata-hello
- Returns:
-
value of the
data-*
attribute ornull
if the attribute is missing - Throws:
-
NullPointerException
- if thekey
isnull
-
accept
default DomElement accept(String value)
Sets HTML attributeaccept
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theaccept
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
accept
default String accept()
Gets HTML attributeaccept
.- Returns:
-
value of the
accept
attribute ornull
if the attribute is missing
-
acceptCharset
default DomElement acceptCharset(String value)
Sets HTML attributeaccept-charset
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theaccept-charset
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
acceptCharset
default String acceptCharset()
Gets HTML attributeaccept-charset
.- Returns:
-
value of the
accept-charset
attribute ornull
if the attribute is missing
-
accesskey
default DomElement accesskey(String value)
Sets HTML attributeaccesskey
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theaccesskey
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
accesskey
default String accesskey()
Gets HTML attributeaccesskey
.- Returns:
-
value of the
accesskey
attribute ornull
if the attribute is missing
-
accumulate
default DomElement accumulate(String value)
Sets SVG attributeaccumulate
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theaccumulate
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
accumulate
default String accumulate()
Gets SVG attributeaccumulate
.- Returns:
-
value of the
accumulate
attribute ornull
if the attribute is missing
-
action
default DomElement action(String value)
Sets HTML attributeaction
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theaction
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
action
default String action()
Gets HTML attributeaction
.- Returns:
-
value of the
action
attribute ornull
if the attribute is missing
-
additive
default DomElement additive(String value)
Sets SVG attributeadditive
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theadditive
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
additive
default String additive()
Gets SVG attributeadditive
.- Returns:
-
value of the
additive
attribute ornull
if the attribute is missing
-
alignmentBaseline
default DomElement alignmentBaseline(String value)
Sets SVG attributealignment-baseline
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thealignment-baseline
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
alignmentBaseline
default String alignmentBaseline()
Gets SVG attributealignment-baseline
.- Returns:
-
value of the
alignment-baseline
attribute ornull
if the attribute is missing
-
allowfullscreen
default DomElement allowfullscreen(String value)
Sets HTML attributeallowfullscreen
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theallowfullscreen
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
allowfullscreen
default String allowfullscreen()
Gets HTML attributeallowfullscreen
.- Returns:
-
value of the
allowfullscreen
attribute ornull
if the attribute is missing
-
alt
default DomElement alt(String value)
Sets HTML attributealt
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thealt
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
alt
default String alt()
Gets HTML attributealt
.- Returns:
-
value of the
alt
attribute ornull
if the attribute is missing
-
amplitude
default DomElement amplitude(String value)
Sets SVG attributeamplitude
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theamplitude
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
amplitude
default String amplitude()
Gets SVG attributeamplitude
.- Returns:
-
value of the
amplitude
attribute ornull
if the attribute is missing
-
amplitude
default DomElement amplitude(double value)
Sets SVG attributeamplitude
to a floating-point value.- Parameters:
-
value
- new value of theamplitude
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
amplitudeAsDouble
default OptionalDouble amplitudeAsDouble()
Gets SVG attributeamplitude
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 attributeasync
. 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 attributeasync
.- 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 attributeasync
.- Returns:
-
value of the
async
attribute ornull
if the attribute is missing
-
attributeName
default DomElement attributeName(String value)
Sets SVG attributeattributeName
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theattributeName
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
attributeName
default String attributeName()
Gets SVG attributeattributeName
.- Returns:
-
value of the
attributeName
attribute ornull
if the attribute is missing
-
attributeType
default DomElement attributeType(String value)
Sets SVG attributeattributeType
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theattributeType
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
attributeType
default String attributeType()
Gets SVG attributeattributeType
.- Returns:
-
value of the
attributeType
attribute ornull
if the attribute is missing
-
autocapitalize
default DomElement autocapitalize(String value)
Sets HTML attributeautocapitalize
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theautocapitalize
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
autocapitalize
default String autocapitalize()
Gets HTML attributeautocapitalize
.- Returns:
-
value of the
autocapitalize
attribute ornull
if the attribute is missing
-
autocomplete
default DomElement autocomplete(String value)
Sets HTML attributeautocomplete
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theautocomplete
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
autocomplete
default String autocomplete()
Gets HTML attributeautocomplete
.- Returns:
-
value of the
autocomplete
attribute ornull
if the attribute is missing
-
autofocus
default DomElement autofocus()
Adds boolean HTML attributeautofocus
. 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 attributeautofocus
.- 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 attributeautofocus
.- Returns:
-
value of the
autofocus
attribute ornull
if the attribute is missing
-
autoplay
default DomElement autoplay()
Adds boolean HTML attributeautoplay
. 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 attributeautoplay
.- 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 attributeautoplay
.- Returns:
-
value of the
autoplay
attribute ornull
if the attribute is missing
-
azimuth
default DomElement azimuth(String value)
Sets SVG attributeazimuth
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theazimuth
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
azimuth
default String azimuth()
Gets SVG attributeazimuth
.- Returns:
-
value of the
azimuth
attribute ornull
if the attribute is missing
-
azimuth
default DomElement azimuth(double value)
Sets SVG attributeazimuth
to a floating-point value.- Parameters:
-
value
- new value of theazimuth
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
azimuthAsDouble
default OptionalDouble azimuthAsDouble()
Gets SVG attributeazimuth
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 attributebaseFrequency
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thebaseFrequency
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
baseFrequency
default String baseFrequency()
Gets SVG attributebaseFrequency
.- Returns:
-
value of the
baseFrequency
attribute ornull
if the attribute is missing
-
baseFrequency
default DomElement baseFrequency(double value)
Sets SVG attributebaseFrequency
to a floating-point value.- Parameters:
-
value
- new value of thebaseFrequency
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
baseFrequencyAsDouble
default OptionalDouble baseFrequencyAsDouble()
Gets SVG attributebaseFrequency
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 attributebaseline-shift
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thebaseline-shift
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
baselineShift
default String baselineShift()
Gets SVG attributebaseline-shift
.- Returns:
-
value of the
baseline-shift
attribute ornull
if the attribute is missing
-
baselineShift
default DomElement baselineShift(double value)
Sets SVG attributebaseline-shift
to a floating-point value.- Parameters:
-
value
- new value of thebaseline-shift
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
baselineShiftAsDouble
default OptionalDouble baselineShiftAsDouble()
Gets SVG attributebaseline-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 attributebegin
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thebegin
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
begin
default String begin()
Gets SVG attributebegin
.- Returns:
-
value of the
begin
attribute ornull
if the attribute is missing
-
bias
default DomElement bias(String value)
Sets SVG attributebias
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thebias
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
bias
default String bias()
Gets SVG attributebias
.- Returns:
-
value of the
bias
attribute ornull
if the attribute is missing
-
bias
default DomElement bias(double value)
Sets SVG attributebias
to a floating-point value.- Parameters:
-
value
- new value of thebias
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
biasAsDouble
default OptionalDouble biasAsDouble()
Gets SVG attributebias
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 attributecalcMode
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecalcMode
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
calcMode
default String calcMode()
Gets SVG attributecalcMode
.- Returns:
-
value of the
calcMode
attribute ornull
if the attribute is missing
-
charset
default DomElement charset(String value)
Sets HTML attributecharset
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecharset
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
charset
default String charset()
Gets HTML attributecharset
.- Returns:
-
value of the
charset
attribute ornull
if the attribute is missing
-
checked
default DomElement checked()
Adds boolean HTML attributechecked
. 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 attributechecked
.- 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 attributechecked
.- Returns:
-
value of the
checked
attribute ornull
if the attribute is missing
-
cite
default DomElement cite(String value)
Sets HTML attributecite
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecite
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cite
default String cite()
Gets HTML attributecite
.- Returns:
-
value of the
cite
attribute ornull
if the attribute is missing
-
clazz
default DomElement clazz(String value)
Sets HTML/SVG attributeclass
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theclass
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
clazz
default String clazz()
Gets HTML/SVG attributeclass
.- Returns:
-
value of the
class
attribute ornull
if the attribute is missing
-
clipPath
default DomElement clipPath(String value)
Sets SVG attributeclip-path
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theclip-path
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
clipPath
default String clipPath()
Gets SVG attributeclip-path
.- Returns:
-
value of the
clip-path
attribute ornull
if the attribute is missing
-
clipRule
default DomElement clipRule(String value)
Sets SVG attributeclip-rule
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theclip-rule
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
clipRule
default String clipRule()
Gets SVG attributeclip-rule
.- Returns:
-
value of the
clip-rule
attribute ornull
if the attribute is missing
-
clipPathUnits
default DomElement clipPathUnits(String value)
Sets SVG attributeclipPathUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theclipPathUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
clipPathUnits
default String clipPathUnits()
Gets SVG attributeclipPathUnits
.- Returns:
-
value of the
clipPathUnits
attribute ornull
if the attribute is missing
-
color
default DomElement color(String value)
Sets SVG attributecolor
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolor
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
color
default String color()
Gets SVG attributecolor
.- Returns:
-
value of the
color
attribute ornull
if the attribute is missing
-
colorInterpolation
default DomElement colorInterpolation(String value)
Sets SVG attributecolor-interpolation
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolor-interpolation
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colorInterpolation
default String colorInterpolation()
Gets SVG attributecolor-interpolation
.- Returns:
-
value of the
color-interpolation
attribute ornull
if the attribute is missing
-
colorInterpolationFilters
default DomElement colorInterpolationFilters(String value)
Sets SVG attributecolor-interpolation-filters
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolor-interpolation-filters
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colorInterpolationFilters
default String colorInterpolationFilters()
Gets SVG attributecolor-interpolation-filters
.- Returns:
-
value of the
color-interpolation-filters
attribute ornull
if the attribute is missing
-
colorProfile
default DomElement colorProfile(String value)
Sets SVG attributecolor-profile
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolor-profile
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colorProfile
default String colorProfile()
Gets SVG attributecolor-profile
.- Returns:
-
value of the
color-profile
attribute ornull
if the attribute is missing
-
colorRendering
default DomElement colorRendering(String value)
Sets SVG attributecolor-rendering
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolor-rendering
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colorRendering
default String colorRendering()
Gets SVG attributecolor-rendering
.- Returns:
-
value of the
color-rendering
attribute ornull
if the attribute is missing
-
cols
default DomElement cols(String value)
Sets HTML attributecols
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecols
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cols
default String cols()
Gets HTML attributecols
.- Returns:
-
value of the
cols
attribute ornull
if the attribute is missing
-
cols
default DomElement cols(int value)
Sets HTML attributecols
to an integer value.- Parameters:
-
value
- new value of thecols
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colsAsInt
default OptionalInt colsAsInt()
Gets HTML attributecols
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
colspan
default DomElement colspan(String value)
Sets HTML attributecolspan
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecolspan
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colspan
default String colspan()
Gets HTML attributecolspan
.- Returns:
-
value of the
colspan
attribute ornull
if the attribute is missing
-
colspan
default DomElement colspan(int value)
Sets HTML attributecolspan
to an integer value.- Parameters:
-
value
- new value of thecolspan
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
colspanAsInt
default OptionalInt colspanAsInt()
Gets HTML attributecolspan
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
content
default DomElement content(String value)
Sets HTML attributecontent
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecontent
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
content
default String content()
Gets HTML attributecontent
.- Returns:
-
value of the
content
attribute ornull
if the attribute is missing
-
contenteditable
default DomElement contenteditable(String value)
Sets HTML attributecontenteditable
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecontenteditable
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
contenteditable
default String contenteditable()
Gets HTML attributecontenteditable
.- Returns:
-
value of the
contenteditable
attribute ornull
if the attribute is missing
-
contextmenu
default DomElement contextmenu(String value)
Sets HTML attributecontextmenu
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecontextmenu
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
contextmenu
default String contextmenu()
Gets HTML attributecontextmenu
.- Returns:
-
value of the
contextmenu
attribute ornull
if the attribute is missing
-
controls
default DomElement controls()
Adds boolean HTML attributecontrols
. 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 attributecontrols
.- 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 attributecontrols
.- Returns:
-
value of the
controls
attribute ornull
if the attribute is missing
-
coords
default DomElement coords(String value)
Sets HTML attributecoords
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecoords
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
coords
default String coords()
Gets HTML attributecoords
.- Returns:
-
value of the
coords
attribute ornull
if the attribute is missing
-
crossorigin
default DomElement crossorigin(String value)
Sets HTML attributecrossorigin
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecrossorigin
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
crossorigin
default String crossorigin()
Gets HTML attributecrossorigin
.- Returns:
-
value of the
crossorigin
attribute ornull
if the attribute is missing
-
cursor
default DomElement cursor(String value)
Sets SVG attributecursor
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecursor
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cursor
default String cursor()
Gets SVG attributecursor
.- Returns:
-
value of the
cursor
attribute ornull
if the attribute is missing
-
cx
default DomElement cx(String value)
Sets SVG attributecx
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecx
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cx
default String cx()
Gets SVG attributecx
.- Returns:
-
value of the
cx
attribute ornull
if the attribute is missing
-
cx
default DomElement cx(double value)
Sets SVG attributecx
to a floating-point value.- Parameters:
-
value
- new value of thecx
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cxAsDouble
default OptionalDouble cxAsDouble()
Gets SVG attributecx
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 attributecy
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thecy
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cy
default String cy()
Gets SVG attributecy
.- Returns:
-
value of the
cy
attribute ornull
if the attribute is missing
-
cy
default DomElement cy(double value)
Sets SVG attributecy
to a floating-point value.- Parameters:
-
value
- new value of thecy
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
cyAsDouble
default OptionalDouble cyAsDouble()
Gets SVG attributecy
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 attributed
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thed
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
d
default String d()
Gets SVG attributed
.- Returns:
-
value of the
d
attribute ornull
if the attribute is missing
-
plaindata
default DomElement plaindata(String value)
Sets HTML attributedata
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedata
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
plaindata
default String plaindata()
Gets HTML attributedata
.- Returns:
-
value of the
data
attribute ornull
if the attribute is missing
-
datetime
default DomElement datetime(String value)
Sets HTML attributedatetime
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedatetime
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
datetime
default String datetime()
Gets HTML attributedatetime
.- Returns:
-
value of the
datetime
attribute ornull
if the attribute is missing
-
defaults
default DomElement defaults()
Adds boolean HTML attributedefault
. 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 attributedefault
.- 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 attributedefault
.- Returns:
-
value of the
default
attribute ornull
if the attribute is missing
-
defer
default DomElement defer()
Adds boolean HTML attributedefer
. 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 attributedefer
.- 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 attributedefer
.- Returns:
-
value of the
defer
attribute ornull
if the attribute is missing
-
diffuseConstant
default DomElement diffuseConstant(String value)
Sets SVG attributediffuseConstant
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thediffuseConstant
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
diffuseConstant
default String diffuseConstant()
Gets SVG attributediffuseConstant
.- Returns:
-
value of the
diffuseConstant
attribute ornull
if the attribute is missing
-
diffuseConstant
default DomElement diffuseConstant(double value)
Sets SVG attributediffuseConstant
to a floating-point value.- Parameters:
-
value
- new value of thediffuseConstant
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
diffuseConstantAsDouble
default OptionalDouble diffuseConstantAsDouble()
Gets SVG attributediffuseConstant
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 attributedir
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedir
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dir
default String dir()
Gets HTML attributedir
.- Returns:
-
value of the
dir
attribute ornull
if the attribute is missing
-
direction
default DomElement direction(String value)
Sets SVG attributedirection
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedirection
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
direction
default String direction()
Gets SVG attributedirection
.- Returns:
-
value of the
direction
attribute ornull
if the attribute is missing
-
disabled
default DomElement disabled()
Adds boolean HTML attributedisabled
. 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 attributedisabled
.- 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 attributedisabled
.- Returns:
-
value of the
disabled
attribute ornull
if the attribute is missing
-
display
default DomElement display(String value)
Sets SVG attributedisplay
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedisplay
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
display
default String display()
Gets SVG attributedisplay
.- Returns:
-
value of the
display
attribute ornull
if the attribute is missing
-
divisor
default DomElement divisor(String value)
Sets SVG attributedivisor
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedivisor
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
divisor
default String divisor()
Gets SVG attributedivisor
.- Returns:
-
value of the
divisor
attribute ornull
if the attribute is missing
-
divisor
default DomElement divisor(double value)
Sets SVG attributedivisor
to a floating-point value.- Parameters:
-
value
- new value of thedivisor
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
divisorAsDouble
default OptionalDouble divisorAsDouble()
Gets SVG attributedivisor
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 attributedominant-baseline
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedominant-baseline
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dominantBaseline
default String dominantBaseline()
Gets SVG attributedominant-baseline
.- Returns:
-
value of the
dominant-baseline
attribute ornull
if the attribute is missing
-
download
default DomElement download()
Adds boolean HTML attributedownload
. 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 attributedownload
.- 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 attributedownload
.- Returns:
-
value of the
download
attribute ornull
if the attribute is missing
-
draggable
default DomElement draggable(String value)
Sets HTML attributedraggable
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedraggable
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
draggable
default String draggable()
Gets HTML attributedraggable
.- Returns:
-
value of the
draggable
attribute ornull
if the attribute is missing
-
dropzone
default DomElement dropzone(String value)
Sets HTML attributedropzone
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedropzone
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dropzone
default String dropzone()
Gets HTML attributedropzone
.- Returns:
-
value of the
dropzone
attribute ornull
if the attribute is missing
-
dur
default DomElement dur(String value)
Sets SVG attributedur
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedur
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dur
default String dur()
Gets SVG attributedur
.- Returns:
-
value of the
dur
attribute ornull
if the attribute is missing
-
dx
default DomElement dx(String value)
Sets SVG attributedx
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedx
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dx
default String dx()
Gets SVG attributedx
.- Returns:
-
value of the
dx
attribute ornull
if the attribute is missing
-
dx
default DomElement dx(double value)
Sets SVG attributedx
to a floating-point value.- Parameters:
-
value
- new value of thedx
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dxAsDouble
default OptionalDouble dxAsDouble()
Gets SVG attributedx
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 attributedy
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thedy
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dy
default String dy()
Gets SVG attributedy
.- Returns:
-
value of the
dy
attribute ornull
if the attribute is missing
-
dy
default DomElement dy(double value)
Sets SVG attributedy
to a floating-point value.- Parameters:
-
value
- new value of thedy
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
dyAsDouble
default OptionalDouble dyAsDouble()
Gets SVG attributedy
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 attributeedgeMode
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theedgeMode
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
edgeMode
default String edgeMode()
Gets SVG attributeedgeMode
.- Returns:
-
value of the
edgeMode
attribute ornull
if the attribute is missing
-
elevation
default DomElement elevation(String value)
Sets SVG attributeelevation
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theelevation
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
elevation
default String elevation()
Gets SVG attributeelevation
.- Returns:
-
value of the
elevation
attribute ornull
if the attribute is missing
-
elevation
default DomElement elevation(double value)
Sets SVG attributeelevation
to a floating-point value.- Parameters:
-
value
- new value of theelevation
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
elevationAsDouble
default OptionalDouble elevationAsDouble()
Gets SVG attributeelevation
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 attributeenctype
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theenctype
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
enctype
default String enctype()
Gets HTML attributeenctype
.- Returns:
-
value of the
enctype
attribute ornull
if the attribute is missing
-
end
default DomElement end(String value)
Sets SVG attributeend
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theend
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
end
default String end()
Gets SVG attributeend
.- Returns:
-
value of the
end
attribute ornull
if the attribute is missing
-
externalResourcesRequired
default DomElement externalResourcesRequired(String value)
Sets SVG attributeexternalResourcesRequired
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theexternalResourcesRequired
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
externalResourcesRequired
default String externalResourcesRequired()
Gets SVG attributeexternalResourcesRequired
.- Returns:
-
value of the
externalResourcesRequired
attribute ornull
if the attribute is missing
-
fill
default DomElement fill(String value)
Sets SVG attributefill
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefill
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fill
default String fill()
Gets SVG attributefill
.- Returns:
-
value of the
fill
attribute ornull
if the attribute is missing
-
fillOpacity
default DomElement fillOpacity(String value)
Sets SVG attributefill-opacity
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefill-opacity
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fillOpacity
default String fillOpacity()
Gets SVG attributefill-opacity
.- Returns:
-
value of the
fill-opacity
attribute ornull
if the attribute is missing
-
fillOpacity
default DomElement fillOpacity(double value)
Sets SVG attributefill-opacity
to a floating-point value.- Parameters:
-
value
- new value of thefill-opacity
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fillOpacityAsDouble
default OptionalDouble fillOpacityAsDouble()
Gets SVG attributefill-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 attributefill-rule
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefill-rule
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fillRule
default String fillRule()
Gets SVG attributefill-rule
.- Returns:
-
value of the
fill-rule
attribute ornull
if the attribute is missing
-
filter
default DomElement filter(String value)
Sets SVG attributefilter
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefilter
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
filter
default String filter()
Gets SVG attributefilter
.- Returns:
-
value of the
filter
attribute ornull
if the attribute is missing
-
filterUnits
default DomElement filterUnits(String value)
Sets SVG attributefilterUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefilterUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
filterUnits
default String filterUnits()
Gets SVG attributefilterUnits
.- Returns:
-
value of the
filterUnits
attribute ornull
if the attribute is missing
-
floodColor
default DomElement floodColor(String value)
Sets SVG attributeflood-color
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theflood-color
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
floodColor
default String floodColor()
Gets SVG attributeflood-color
.- Returns:
-
value of the
flood-color
attribute ornull
if the attribute is missing
-
floodOpacity
default DomElement floodOpacity(String value)
Sets SVG attributeflood-opacity
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theflood-opacity
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
floodOpacity
default String floodOpacity()
Gets SVG attributeflood-opacity
.- Returns:
-
value of the
flood-opacity
attribute ornull
if the attribute is missing
-
floodOpacity
default DomElement floodOpacity(double value)
Sets SVG attributeflood-opacity
to a floating-point value.- Parameters:
-
value
- new value of theflood-opacity
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
floodOpacityAsDouble
default OptionalDouble floodOpacityAsDouble()
Gets SVG attributeflood-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 attributefont-family
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-family
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontFamily
default String fontFamily()
Gets SVG attributefont-family
.- Returns:
-
value of the
font-family
attribute ornull
if the attribute is missing
-
fontSize
default DomElement fontSize(String value)
Sets SVG attributefont-size
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-size
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontSize
default String fontSize()
Gets SVG attributefont-size
.- Returns:
-
value of the
font-size
attribute ornull
if the attribute is missing
-
fontSizeAdjust
default DomElement fontSizeAdjust(String value)
Sets SVG attributefont-size-adjust
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-size-adjust
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontSizeAdjust
default String fontSizeAdjust()
Gets SVG attributefont-size-adjust
.- Returns:
-
value of the
font-size-adjust
attribute ornull
if the attribute is missing
-
fontSizeAdjust
default DomElement fontSizeAdjust(double value)
Sets SVG attributefont-size-adjust
to a floating-point value.- Parameters:
-
value
- new value of thefont-size-adjust
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontSizeAdjustAsDouble
default OptionalDouble fontSizeAdjustAsDouble()
Gets SVG attributefont-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 attributefont-stretch
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-stretch
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontStretch
default String fontStretch()
Gets SVG attributefont-stretch
.- Returns:
-
value of the
font-stretch
attribute ornull
if the attribute is missing
-
fontVariant
default DomElement fontVariant(String value)
Sets SVG attributefont-variant
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-variant
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontVariant
default String fontVariant()
Gets SVG attributefont-variant
.- Returns:
-
value of the
font-variant
attribute ornull
if the attribute is missing
-
fontWeight
default DomElement fontWeight(String value)
Sets SVG attributefont-weight
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefont-weight
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontWeight
default String fontWeight()
Gets SVG attributefont-weight
.- Returns:
-
value of the
font-weight
attribute ornull
if the attribute is missing
-
fontWeight
default DomElement fontWeight(int value)
Sets SVG attributefont-weight
to an integer value.- Parameters:
-
value
- new value of thefont-weight
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fontWeightAsInt
default OptionalInt fontWeightAsInt()
Gets SVG attributefont-weight
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
forid
default DomElement forid(String value)
Sets HTML attributefor
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefor
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
forid
default String forid()
Gets HTML attributefor
.- Returns:
-
value of the
for
attribute ornull
if the attribute is missing
-
form
default DomElement form(String value)
Sets HTML attributeform
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theform
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
form
default String form()
Gets HTML attributeform
.- Returns:
-
value of the
form
attribute ornull
if the attribute is missing
-
formaction
default DomElement formaction(String value)
Sets HTML attributeformaction
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theformaction
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
formaction
default String formaction()
Gets HTML attributeformaction
.- Returns:
-
value of the
formaction
attribute ornull
if the attribute is missing
-
formmethod
default DomElement formmethod(String value)
Sets HTML attributeformmethod
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theformmethod
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
formmethod
default String formmethod()
Gets HTML attributeformmethod
.- Returns:
-
value of the
formmethod
attribute ornull
if the attribute is missing
-
formnovalidate
default DomElement formnovalidate()
Adds boolean HTML attributeformnovalidate
. 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 attributeformnovalidate
.- 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 attributeformnovalidate
.- Returns:
-
value of the
formnovalidate
attribute ornull
if the attribute is missing
-
formtarget
default DomElement formtarget(String value)
Sets HTML attributeformtarget
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theformtarget
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
formtarget
default String formtarget()
Gets HTML attributeformtarget
.- Returns:
-
value of the
formtarget
attribute ornull
if the attribute is missing
-
fr
default DomElement fr(String value)
Sets SVG attributefr
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefr
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fr
default String fr()
Gets SVG attributefr
.- Returns:
-
value of the
fr
attribute ornull
if the attribute is missing
-
fr
default DomElement fr(double value)
Sets SVG attributefr
to a floating-point value.- Parameters:
-
value
- new value of thefr
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
frAsDouble
default OptionalDouble frAsDouble()
Gets SVG attributefr
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 attributefrom
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefrom
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
from
default String from()
Gets SVG attributefrom
.- Returns:
-
value of the
from
attribute ornull
if the attribute is missing
-
fx
default DomElement fx(String value)
Sets SVG attributefx
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefx
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fx
default String fx()
Gets SVG attributefx
.- Returns:
-
value of the
fx
attribute ornull
if the attribute is missing
-
fx
default DomElement fx(double value)
Sets SVG attributefx
to a floating-point value.- Parameters:
-
value
- new value of thefx
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fxAsDouble
default OptionalDouble fxAsDouble()
Gets SVG attributefx
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 attributefy
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thefy
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fy
default String fy()
Gets SVG attributefy
.- Returns:
-
value of the
fy
attribute ornull
if the attribute is missing
-
fy
default DomElement fy(double value)
Sets SVG attributefy
to a floating-point value.- Parameters:
-
value
- new value of thefy
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
fyAsDouble
default OptionalDouble fyAsDouble()
Gets SVG attributefy
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 attributegradientTransform
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thegradientTransform
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
gradientTransform
default String gradientTransform()
Gets SVG attributegradientTransform
.- Returns:
-
value of the
gradientTransform
attribute ornull
if the attribute is missing
-
gradientUnits
default DomElement gradientUnits(String value)
Sets SVG attributegradientUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thegradientUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
gradientUnits
default String gradientUnits()
Gets SVG attributegradientUnits
.- Returns:
-
value of the
gradientUnits
attribute ornull
if the attribute is missing
-
headers
default DomElement headers(String value)
Sets HTML attributeheaders
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theheaders
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
headers
default String headers()
Gets HTML attributeheaders
.- Returns:
-
value of the
headers
attribute ornull
if the attribute is missing
-
height
default DomElement height(String value)
Sets HTML/SVG attributeheight
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theheight
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
height
default String height()
Gets HTML/SVG attributeheight
.- Returns:
-
value of the
height
attribute ornull
if the attribute is missing
-
height
default DomElement height(int value)
Sets HTML/SVG attributeheight
to an integer value.- Parameters:
-
value
- new value of theheight
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
heightAsInt
default OptionalInt heightAsInt()
Gets HTML/SVG attributeheight
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
height
default DomElement height(double value)
Sets HTML/SVG attributeheight
to a floating-point value.- Parameters:
-
value
- new value of theheight
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
heightAsDouble
default OptionalDouble heightAsDouble()
Gets HTML/SVG attributeheight
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 attributehidden
. 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 attributehidden
.- 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 attributehidden
.- Returns:
-
value of the
hidden
attribute ornull
if the attribute is missing
-
high
default DomElement high(String value)
Sets HTML attributehigh
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thehigh
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
high
default String high()
Gets HTML attributehigh
.- Returns:
-
value of the
high
attribute ornull
if the attribute is missing
-
high
default DomElement high(double value)
Sets HTML attributehigh
to a floating-point value.- Parameters:
-
value
- new value of thehigh
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
highAsDouble
default OptionalDouble highAsDouble()
Gets HTML attributehigh
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 attributehref
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thehref
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
href
default String href()
Gets HTML/SVG attributehref
.- Returns:
-
value of the
href
attribute ornull
if the attribute is missing
-
hreflang
default DomElement hreflang(String value)
Sets HTML attributehreflang
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thehreflang
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
hreflang
default String hreflang()
Gets HTML attributehreflang
.- Returns:
-
value of the
hreflang
attribute ornull
if the attribute is missing
-
httpEquiv
default DomElement httpEquiv(String value)
Sets HTML attributehttp-equiv
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thehttp-equiv
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
httpEquiv
default String httpEquiv()
Gets HTML attributehttp-equiv
.- Returns:
-
value of the
http-equiv
attribute ornull
if the attribute is missing
-
icon
default DomElement icon(String value)
Sets HTML attributeicon
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theicon
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
icon
default String icon()
Gets HTML attributeicon
.- Returns:
-
value of the
icon
attribute ornull
if the attribute is missing
-
imageRendering
default DomElement imageRendering(String value)
Sets SVG attributeimage-rendering
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theimage-rendering
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
imageRendering
default String imageRendering()
Gets SVG attributeimage-rendering
.- Returns:
-
value of the
image-rendering
attribute ornull
if the attribute is missing
-
in
default DomElement in(String value)
Sets SVG attributein
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thein
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
in
default String in()
Gets SVG attributein
.- Returns:
-
value of the
in
attribute ornull
if the attribute is missing
-
in2
default DomElement in2(String value)
Sets SVG attributein2
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thein2
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
in2
default String in2()
Gets SVG attributein2
.- Returns:
-
value of the
in2
attribute ornull
if the attribute is missing
-
inputmode
default DomElement inputmode(String value)
Sets HTML attributeinputmode
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theinputmode
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
inputmode
default String inputmode()
Gets HTML attributeinputmode
.- Returns:
-
value of the
inputmode
attribute ornull
if the attribute is missing
-
integrity
default DomElement integrity(String value)
Sets HTML attributeintegrity
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theintegrity
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
integrity
default String integrity()
Gets HTML attributeintegrity
.- Returns:
-
value of the
integrity
attribute ornull
if the attribute is missing
-
ismap
default DomElement ismap()
Adds boolean HTML attributeismap
. 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 attributeismap
.- 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 attributeismap
.- Returns:
-
value of the
ismap
attribute ornull
if the attribute is missing
-
k1
default DomElement k1(String value)
Sets SVG attributek1
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thek1
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k1
default String k1()
Gets SVG attributek1
.- Returns:
-
value of the
k1
attribute ornull
if the attribute is missing
-
k1
default DomElement k1(double value)
Sets SVG attributek1
to a floating-point value.- Parameters:
-
value
- new value of thek1
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k1AsDouble
default OptionalDouble k1AsDouble()
Gets SVG attributek1
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 attributek2
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thek2
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k2
default String k2()
Gets SVG attributek2
.- Returns:
-
value of the
k2
attribute ornull
if the attribute is missing
-
k2
default DomElement k2(double value)
Sets SVG attributek2
to a floating-point value.- Parameters:
-
value
- new value of thek2
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k2AsDouble
default OptionalDouble k2AsDouble()
Gets SVG attributek2
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 attributek3
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thek3
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k3
default String k3()
Gets SVG attributek3
.- Returns:
-
value of the
k3
attribute ornull
if the attribute is missing
-
k3
default DomElement k3(double value)
Sets SVG attributek3
to a floating-point value.- Parameters:
-
value
- new value of thek3
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k3AsDouble
default OptionalDouble k3AsDouble()
Gets SVG attributek3
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 attributek4
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thek4
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k4
default String k4()
Gets SVG attributek4
.- Returns:
-
value of the
k4
attribute ornull
if the attribute is missing
-
k4
default DomElement k4(double value)
Sets SVG attributek4
to a floating-point value.- Parameters:
-
value
- new value of thek4
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
k4AsDouble
default OptionalDouble k4AsDouble()
Gets SVG attributek4
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 attributekernelMatrix
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekernelMatrix
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kernelMatrix
default String kernelMatrix()
Gets SVG attributekernelMatrix
.- Returns:
-
value of the
kernelMatrix
attribute ornull
if the attribute is missing
-
kernelUnitLength
default DomElement kernelUnitLength(String value)
Sets SVG attributekernelUnitLength
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekernelUnitLength
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kernelUnitLength
default String kernelUnitLength()
Gets SVG attributekernelUnitLength
.- Returns:
-
value of the
kernelUnitLength
attribute ornull
if the attribute is missing
-
kernelUnitLength
default DomElement kernelUnitLength(double value)
Sets SVG attributekernelUnitLength
to a floating-point value.- Parameters:
-
value
- new value of thekernelUnitLength
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kernelUnitLengthAsDouble
default OptionalDouble kernelUnitLengthAsDouble()
Gets SVG attributekernelUnitLength
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 attributekerning
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekerning
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kerning
default String kerning()
Gets SVG attributekerning
.- Returns:
-
value of the
kerning
attribute ornull
if the attribute is missing
-
kerning
default DomElement kerning(double value)
Sets SVG attributekerning
to a floating-point value.- Parameters:
-
value
- new value of thekerning
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kerningAsDouble
default OptionalDouble kerningAsDouble()
Gets SVG attributekerning
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 attributekeySplines
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekeySplines
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
keySplines
default String keySplines()
Gets SVG attributekeySplines
.- Returns:
-
value of the
keySplines
attribute ornull
if the attribute is missing
-
keyTimes
default DomElement keyTimes(String value)
Sets SVG attributekeyTimes
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekeyTimes
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
keyTimes
default String keyTimes()
Gets SVG attributekeyTimes
.- Returns:
-
value of the
keyTimes
attribute ornull
if the attribute is missing
-
kind
default DomElement kind(String value)
Sets HTML attributekind
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thekind
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
kind
default String kind()
Gets HTML attributekind
.- Returns:
-
value of the
kind
attribute ornull
if the attribute is missing
-
label
default DomElement label(String value)
Sets HTML attributelabel
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelabel
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
label
default String label()
Gets HTML attributelabel
.- Returns:
-
value of the
label
attribute ornull
if the attribute is missing
-
lang
default DomElement lang(String value)
Sets HTML attributelang
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelang
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
lang
default String lang()
Gets HTML attributelang
.- Returns:
-
value of the
lang
attribute ornull
if the attribute is missing
-
language
default DomElement language(String value)
Sets HTML attributelanguage
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelanguage
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
language
default String language()
Gets HTML attributelanguage
.- Returns:
-
value of the
language
attribute ornull
if the attribute is missing
-
letterSpacing
default DomElement letterSpacing(String value)
Sets SVG attributeletter-spacing
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theletter-spacing
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
letterSpacing
default String letterSpacing()
Gets SVG attributeletter-spacing
.- Returns:
-
value of the
letter-spacing
attribute ornull
if the attribute is missing
-
letterSpacing
default DomElement letterSpacing(double value)
Sets SVG attributeletter-spacing
to a floating-point value.- Parameters:
-
value
- new value of theletter-spacing
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
letterSpacingAsDouble
default OptionalDouble letterSpacingAsDouble()
Gets SVG attributeletter-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 attributelighting-color
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelighting-color
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
lightingColor
default String lightingColor()
Gets SVG attributelighting-color
.- Returns:
-
value of the
lighting-color
attribute ornull
if the attribute is missing
-
limitingConeAngle
default DomElement limitingConeAngle(String value)
Sets SVG attributelimitingConeAngle
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelimitingConeAngle
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
limitingConeAngle
default String limitingConeAngle()
Gets SVG attributelimitingConeAngle
.- Returns:
-
value of the
limitingConeAngle
attribute ornull
if the attribute is missing
-
limitingConeAngle
default DomElement limitingConeAngle(double value)
Sets SVG attributelimitingConeAngle
to a floating-point value.- Parameters:
-
value
- new value of thelimitingConeAngle
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
limitingConeAngleAsDouble
default OptionalDouble limitingConeAngleAsDouble()
Gets SVG attributelimitingConeAngle
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 attributelist
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelist
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
list
default String list()
Gets HTML attributelist
.- Returns:
-
value of the
list
attribute ornull
if the attribute is missing
-
local
default DomElement local(String value)
Sets SVG attributelocal
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelocal
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
local
default String local()
Gets SVG attributelocal
.- Returns:
-
value of the
local
attribute ornull
if the attribute is missing
-
loop
default DomElement loop()
Adds boolean HTML attributeloop
. 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 attributeloop
.- 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 attributeloop
.- Returns:
-
value of the
loop
attribute ornull
if the attribute is missing
-
low
default DomElement low(String value)
Sets HTML attributelow
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thelow
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
low
default String low()
Gets HTML attributelow
.- Returns:
-
value of the
low
attribute ornull
if the attribute is missing
-
low
default DomElement low(double value)
Sets HTML attributelow
to a floating-point value.- Parameters:
-
value
- new value of thelow
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
lowAsDouble
default OptionalDouble lowAsDouble()
Gets HTML attributelow
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 attributemarker-end
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarker-end
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerEnd
default String markerEnd()
Gets SVG attributemarker-end
.- Returns:
-
value of the
marker-end
attribute ornull
if the attribute is missing
-
markerMid
default DomElement markerMid(String value)
Sets SVG attributemarker-mid
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarker-mid
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerMid
default String markerMid()
Gets SVG attributemarker-mid
.- Returns:
-
value of the
marker-mid
attribute ornull
if the attribute is missing
-
markerStart
default DomElement markerStart(String value)
Sets SVG attributemarker-start
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarker-start
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerStart
default String markerStart()
Gets SVG attributemarker-start
.- Returns:
-
value of the
marker-start
attribute ornull
if the attribute is missing
-
markerHeight
default DomElement markerHeight(String value)
Sets SVG attributemarkerHeight
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarkerHeight
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerHeight
default String markerHeight()
Gets SVG attributemarkerHeight
.- Returns:
-
value of the
markerHeight
attribute ornull
if the attribute is missing
-
markerHeight
default DomElement markerHeight(double value)
Sets SVG attributemarkerHeight
to a floating-point value.- Parameters:
-
value
- new value of themarkerHeight
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerHeightAsDouble
default OptionalDouble markerHeightAsDouble()
Gets SVG attributemarkerHeight
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 attributemarkerUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarkerUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerUnits
default String markerUnits()
Gets SVG attributemarkerUnits
.- Returns:
-
value of the
markerUnits
attribute ornull
if the attribute is missing
-
markerWidth
default DomElement markerWidth(String value)
Sets SVG attributemarkerWidth
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themarkerWidth
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerWidth
default String markerWidth()
Gets SVG attributemarkerWidth
.- Returns:
-
value of the
markerWidth
attribute ornull
if the attribute is missing
-
markerWidth
default DomElement markerWidth(double value)
Sets SVG attributemarkerWidth
to a floating-point value.- Parameters:
-
value
- new value of themarkerWidth
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
markerWidthAsDouble
default OptionalDouble markerWidthAsDouble()
Gets SVG attributemarkerWidth
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 attributemask
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themask
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
mask
default String mask()
Gets SVG attributemask
.- Returns:
-
value of the
mask
attribute ornull
if the attribute is missing
-
maskContentUnits
default DomElement maskContentUnits(String value)
Sets SVG attributemaskContentUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themaskContentUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
maskContentUnits
default String maskContentUnits()
Gets SVG attributemaskContentUnits
.- Returns:
-
value of the
maskContentUnits
attribute ornull
if the attribute is missing
-
maskUnits
default DomElement maskUnits(String value)
Sets SVG attributemaskUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themaskUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
maskUnits
default String maskUnits()
Gets SVG attributemaskUnits
.- Returns:
-
value of the
maskUnits
attribute ornull
if the attribute is missing
-
max
default DomElement max(String value)
Sets HTML/SVG attributemax
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themax
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
max
default String max()
Gets HTML/SVG attributemax
.- Returns:
-
value of the
max
attribute ornull
if the attribute is missing
-
max
default DomElement max(double value)
Sets HTML/SVG attributemax
to a floating-point value.- Parameters:
-
value
- new value of themax
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
maxAsDouble
default OptionalDouble maxAsDouble()
Gets HTML/SVG attributemax
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 attributemaxlength
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themaxlength
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
maxlength
default String maxlength()
Gets HTML attributemaxlength
.- Returns:
-
value of the
maxlength
attribute ornull
if the attribute is missing
-
maxlength
default DomElement maxlength(int value)
Sets HTML attributemaxlength
to an integer value.- Parameters:
-
value
- new value of themaxlength
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
maxlengthAsInt
default OptionalInt maxlengthAsInt()
Gets HTML attributemaxlength
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
media
default DomElement media(String value)
Sets HTML attributemedia
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themedia
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
media
default String media()
Gets HTML attributemedia
.- Returns:
-
value of the
media
attribute ornull
if the attribute is missing
-
method
default DomElement method(String value)
Sets HTML attributemethod
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themethod
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
method
default String method()
Gets HTML attributemethod
.- Returns:
-
value of the
method
attribute ornull
if the attribute is missing
-
min
default DomElement min(String value)
Sets HTML/SVG attributemin
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themin
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
min
default String min()
Gets HTML/SVG attributemin
.- Returns:
-
value of the
min
attribute ornull
if the attribute is missing
-
min
default DomElement min(double value)
Sets HTML/SVG attributemin
to a floating-point value.- Parameters:
-
value
- new value of themin
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
minAsDouble
default OptionalDouble minAsDouble()
Gets HTML/SVG attributemin
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 attributeminlength
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theminlength
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
minlength
default String minlength()
Gets HTML attributeminlength
.- Returns:
-
value of the
minlength
attribute ornull
if the attribute is missing
-
minlength
default DomElement minlength(int value)
Sets HTML attributeminlength
to an integer value.- Parameters:
-
value
- new value of theminlength
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
minlengthAsInt
default OptionalInt minlengthAsInt()
Gets HTML attributeminlength
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
mode
default DomElement mode(String value)
Sets SVG attributemode
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of themode
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
mode
default String mode()
Gets SVG attributemode
.- Returns:
-
value of the
mode
attribute ornull
if the attribute is missing
-
multiple
default DomElement multiple()
Adds boolean HTML attributemultiple
. 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 attributemultiple
.- 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 attributemultiple
.- Returns:
-
value of the
multiple
attribute ornull
if the attribute is missing
-
muted
default DomElement muted()
Adds boolean HTML attributemuted
. 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 attributemuted
.- 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 attributemuted
.- Returns:
-
value of the
muted
attribute ornull
if the attribute is missing
-
name
default DomElement name(String value)
Sets HTML attributename
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thename
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
name
default String name()
Gets HTML attributename
.- Returns:
-
value of the
name
attribute ornull
if the attribute is missing
-
novalidate
default DomElement novalidate()
Adds boolean HTML attributenovalidate
. 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 attributenovalidate
.- 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 attributenovalidate
.- Returns:
-
value of the
novalidate
attribute ornull
if the attribute is missing
-
numOctaves
default DomElement numOctaves(String value)
Sets SVG attributenumOctaves
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thenumOctaves
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
numOctaves
default String numOctaves()
Gets SVG attributenumOctaves
.- Returns:
-
value of the
numOctaves
attribute ornull
if the attribute is missing
-
numOctaves
default DomElement numOctaves(int value)
Sets SVG attributenumOctaves
to an integer value.- Parameters:
-
value
- new value of thenumOctaves
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
numOctavesAsInt
default OptionalInt numOctavesAsInt()
Gets SVG attributenumOctaves
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
opacity
default DomElement opacity(String value)
Sets SVG attributeopacity
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theopacity
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
opacity
default String opacity()
Gets SVG attributeopacity
.- Returns:
-
value of the
opacity
attribute ornull
if the attribute is missing
-
opacity
default DomElement opacity(double value)
Sets SVG attributeopacity
to a floating-point value.- Parameters:
-
value
- new value of theopacity
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
opacityAsDouble
default OptionalDouble opacityAsDouble()
Gets SVG attributeopacity
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 attributeopen
. 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 attributeopen
.- 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 attributeopen
.- Returns:
-
value of the
open
attribute ornull
if the attribute is missing
-
operator
default DomElement operator(String value)
Sets SVG attributeoperator
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theoperator
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
operator
default String operator()
Gets SVG attributeoperator
.- Returns:
-
value of the
operator
attribute ornull
if the attribute is missing
-
optimum
default DomElement optimum(String value)
Sets HTML attributeoptimum
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theoptimum
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
optimum
default String optimum()
Gets HTML attributeoptimum
.- Returns:
-
value of the
optimum
attribute ornull
if the attribute is missing
-
optimum
default DomElement optimum(double value)
Sets HTML attributeoptimum
to a floating-point value.- Parameters:
-
value
- new value of theoptimum
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
optimumAsDouble
default OptionalDouble optimumAsDouble()
Gets HTML attributeoptimum
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 attributeorder
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theorder
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
order
default String order()
Gets SVG attributeorder
.- Returns:
-
value of the
order
attribute ornull
if the attribute is missing
-
order
default DomElement order(int value)
Sets SVG attributeorder
to an integer value.- Parameters:
-
value
- new value of theorder
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
orderAsInt
default OptionalInt orderAsInt()
Gets SVG attributeorder
as an integer value.- Returns:
-
this
- Throws:
-
NumberFormatException
- if the attribute is not an integer
-
overflow
default DomElement overflow(String value)
Sets SVG attributeoverflow
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theoverflow
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
overflow
default String overflow()
Gets SVG attributeoverflow
.- Returns:
-
value of the
overflow
attribute ornull
if the attribute is missing
-
overlinePosition
default DomElement overlinePosition(String value)
Sets SVG attributeoverline-position
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theoverline-position
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
overlinePosition
default String overlinePosition()
Gets SVG attributeoverline-position
.- Returns:
-
value of the
overline-position
attribute ornull
if the attribute is missing
-
overlinePosition
default DomElement overlinePosition(double value)
Sets SVG attributeoverline-position
to a floating-point value.- Parameters:
-
value
- new value of theoverline-position
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
overlinePositionAsDouble
default OptionalDouble overlinePositionAsDouble()
Gets SVG attributeoverline-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 attributeoverline-thickness
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theoverline-thickness
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
overlineThickness
default String overlineThickness()
Gets SVG attributeoverline-thickness
.- Returns:
-
value of the
overline-thickness
attribute ornull
if the attribute is missing
-
overlineThickness
default DomElement overlineThickness(double value)
Sets SVG attributeoverline-thickness
to a floating-point value.- Parameters:
-
value
- new value of theoverline-thickness
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
overlineThicknessAsDouble
default OptionalDouble overlineThicknessAsDouble()
Gets SVG attributeoverline-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 attributepaint-order
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepaint-order
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
paintOrder
default String paintOrder()
Gets SVG attributepaint-order
.- Returns:
-
value of the
paint-order
attribute ornull
if the attribute is missing
-
pathLength
default DomElement pathLength(String value)
Sets SVG attributepathLength
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepathLength
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pathLength
default String pathLength()
Gets SVG attributepathLength
.- Returns:
-
value of the
pathLength
attribute ornull
if the attribute is missing
-
pathLength
default DomElement pathLength(double value)
Sets SVG attributepathLength
to a floating-point value.- Parameters:
-
value
- new value of thepathLength
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pathLengthAsDouble
default OptionalDouble pathLengthAsDouble()
Gets SVG attributepathLength
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 attributepattern
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepattern
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pattern
default String pattern()
Gets HTML attributepattern
.- Returns:
-
value of the
pattern
attribute ornull
if the attribute is missing
-
patternContentUnits
default DomElement patternContentUnits(String value)
Sets SVG attributepatternContentUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepatternContentUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
patternContentUnits
default String patternContentUnits()
Gets SVG attributepatternContentUnits
.- Returns:
-
value of the
patternContentUnits
attribute ornull
if the attribute is missing
-
patternTransform
default DomElement patternTransform(String value)
Sets SVG attributepatternTransform
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepatternTransform
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
patternTransform
default String patternTransform()
Gets SVG attributepatternTransform
.- Returns:
-
value of the
patternTransform
attribute ornull
if the attribute is missing
-
patternUnits
default DomElement patternUnits(String value)
Sets SVG attributepatternUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepatternUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
patternUnits
default String patternUnits()
Gets SVG attributepatternUnits
.- Returns:
-
value of the
patternUnits
attribute ornull
if the attribute is missing
-
ping
default DomElement ping()
Adds boolean HTML attributeping
. 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 attributeping
.- 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 attributeping
.- Returns:
-
value of the
ping
attribute ornull
if the attribute is missing
-
placeholder
default DomElement placeholder(String value)
Sets HTML attributeplaceholder
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theplaceholder
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
placeholder
default String placeholder()
Gets HTML attributeplaceholder
.- Returns:
-
value of the
placeholder
attribute ornull
if the attribute is missing
-
pointerEvents
default DomElement pointerEvents(String value)
Sets SVG attributepointer-events
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepointer-events
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointerEvents
default String pointerEvents()
Gets SVG attributepointer-events
.- Returns:
-
value of the
pointer-events
attribute ornull
if the attribute is missing
-
points
default DomElement points(String value)
Sets SVG attributepoints
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepoints
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
points
default String points()
Gets SVG attributepoints
.- Returns:
-
value of the
points
attribute ornull
if the attribute is missing
-
pointsAtX
default DomElement pointsAtX(String value)
Sets SVG attributepointsAtX
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepointsAtX
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtX
default String pointsAtX()
Gets SVG attributepointsAtX
.- Returns:
-
value of the
pointsAtX
attribute ornull
if the attribute is missing
-
pointsAtX
default DomElement pointsAtX(double value)
Sets SVG attributepointsAtX
to a floating-point value.- Parameters:
-
value
- new value of thepointsAtX
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtXAsDouble
default OptionalDouble pointsAtXAsDouble()
Gets SVG attributepointsAtX
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 attributepointsAtY
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepointsAtY
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtY
default String pointsAtY()
Gets SVG attributepointsAtY
.- Returns:
-
value of the
pointsAtY
attribute ornull
if the attribute is missing
-
pointsAtY
default DomElement pointsAtY(double value)
Sets SVG attributepointsAtY
to a floating-point value.- Parameters:
-
value
- new value of thepointsAtY
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtYAsDouble
default OptionalDouble pointsAtYAsDouble()
Gets SVG attributepointsAtY
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 attributepointsAtZ
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepointsAtZ
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtZ
default String pointsAtZ()
Gets SVG attributepointsAtZ
.- Returns:
-
value of the
pointsAtZ
attribute ornull
if the attribute is missing
-
pointsAtZ
default DomElement pointsAtZ(double value)
Sets SVG attributepointsAtZ
to a floating-point value.- Parameters:
-
value
- new value of thepointsAtZ
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
pointsAtZAsDouble
default OptionalDouble pointsAtZAsDouble()
Gets SVG attributepointsAtZ
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 attributeposter
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theposter
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
poster
default String poster()
Gets HTML attributeposter
.- Returns:
-
value of the
poster
attribute ornull
if the attribute is missing
-
preload
default DomElement preload(String value)
Sets HTML attributepreload
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepreload
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
preload
default String preload()
Gets HTML attributepreload
.- Returns:
-
value of the
preload
attribute ornull
if the attribute is missing
-
preserveAlpha
default DomElement preserveAlpha(String value)
Sets SVG attributepreserveAlpha
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepreserveAlpha
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
preserveAlpha
default String preserveAlpha()
Gets SVG attributepreserveAlpha
.- Returns:
-
value of the
preserveAlpha
attribute ornull
if the attribute is missing
-
preserveAspectRatio
default DomElement preserveAspectRatio(String value)
Sets SVG attributepreserveAspectRatio
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of thepreserveAspectRatio
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
preserveAspectRatio
default String preserveAspectRatio()
Gets SVG attributepreserveAspectRatio
.- Returns:
-
value of the
preserveAspectRatio
attribute ornull
if the attribute is missing
-
primitiveUnits
default DomElement primitiveUnits(String value)
Sets SVG attributeprimitiveUnits
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of theprimitiveUnits
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
primitiveUnits
default String primitiveUnits()
Gets SVG attributeprimitiveUnits
.- Returns:
-
value of the
primitiveUnits
attribute ornull
if the attribute is missing
-
r
default DomElement r(String value)
Sets SVG attributer
. Ifvalue
isnull
, the attribute is removed.- Parameters:
-
value
- new value of ther
attribute ornull
to remove the attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
r
default String r()
Gets SVG attributer
.- Returns:
-
value of the
r
attribute ornull
if the attribute is missing
-
r
default DomElement r(double value)
Sets SVG attributer
to a floating-point value.- Parameters:
-
value
- new value of ther
attribute - Returns:
-
this
- Throws:
-
IllegalStateException
- if the element is frozen
-
rAsDouble
default OptionalDouble rAsDouble()
Gets SVG attributer
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 attributeradiogroup
. If
-
-