public class Id extends java.lang.Object implements AriaAttributeType
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