
public class Id extends Object implements AriaAttributeType
| Modifier and Type | Method and Description |
|---|---|
String |
getAriaValue() |
static Id |
of(Element element)
Creates an Id instance for the
element by getting
the element 'id' attribute. |
static Id |
of(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(String elementId)
elementId.elementId - A string identifier that should correspond
to the 'id' attribute value of a DOM element.public String getAriaValue()
getAriaValue in interface AriaAttributeTypeCopyright © 2018. All rights reserved.