blob: 1c25361b1cc33a311cb3ff288c51e333a752d6a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*******************************************************************************
* Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
*******************************************************************************/
package com.att.authz.gui.table;
import static com.att.xgen.html.HTMLGen.A;
import com.att.xgen.html.HTMLGen;
public class TextAndRefCell extends RefCell {
private String text;
public TextAndRefCell(String text, String name, String href, String[] attributes) {
super(name, href, attributes);
this.text = text;
}
@Override
public void write(HTMLGen hgen) {
hgen.text(text);
hgen.leaf(A,"href="+href).text(name);
}
}
|