View Javadoc

1   /**
2    * .
3    */
4   package org.sirius.client.web.classes;
5   
6   /**
7    * @author Myk Kolisnyk
8    * .
9    */
10  public class WebLink extends WebButton {
11  
12      /**
13       * @param parent .
14       * @param locator .
15       */
16      public WebLink(final Frame parent, final String locator) {
17          super(parent, locator);
18          // TODO Auto-generated constructor stub
19      }
20  
21      /**
22       * @param parent .
23       * @param parentElement .
24       * @param locator .
25       */
26      public WebLink(final Frame parent, final String parentElement,
27              final String locator) {
28          super(parent, parentElement, locator);
29          // TODO Auto-generated constructor stub
30      }
31  
32      /**
33       * .
34       * @return .
35       * @throws Exception .
36       */
37      public final String href() throws Exception {
38          return client().core().getAttribute(getParentElement(), getLocator(), "href");
39      }
40  }