Class Id

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static Id of​(Element element)
        Creates an Id instance for the element by getting the element 'id' attribute.
        Parameters:
        element - A DOM element which should have a non empty, unique 'id' attribute set.
      • of

        public static Id of​(java.lang.String elementId)
        Creates an Id instance from the elementId.
        Parameters:
        elementId - A string identifier that should correspond to the 'id' attribute value of a DOM element.