blob: eb91c22a6e1c46bd66012f04e086fdc24fff2ffb (
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
26
27
|
/*******************************************************************************
* Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
*******************************************************************************/
package com.att.authz.gui.table;
import com.att.xgen.html.HTMLGen;
public abstract class AbsCell {
private static final String[] NONE = new String[0];
protected static final String[] CENTER = new String[]{"class=center"};
/**
* Write Cell Data with HTMLGen generator
* @param hgen
*/
public abstract void write(HTMLGen hgen);
public final static AbsCell Null = new AbsCell() {
@Override
public void write(final HTMLGen hgen) {
}
};
public String[] attrs() {
return NONE;
}
}
|