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