public class Id extends java.lang.Object implements AriaAttributeType
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAriaValue() |
static Id |
of(Element element)
Creates an Id instance for the
element by getting
the element 'id' attribute. |
static Id |
of(java.lang.String elementId)
Creates an Id instance from the
elementId . |
public static Id of(Element element)
element
by getting
the element 'id' attribute.element
- A DOM element which should have a
non empty, unique 'id' attribute set.public static Id of(java.lang.String elementId)
elementId
.elementId
- A string identifier that should correspond
to the 'id' attribute value of a DOM element.public java.lang.String getAriaValue()
getAriaValue
in interface AriaAttributeType