blob: 69f8fa82833ae96fae0752db5956dd232441e4eb (
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
|
package org.zwobble.mammoth.internal.documents;
import java.util.List;
public class TableCell implements DocumentElement, HasChildren {
private final int colspan;
private final List<DocumentElement> children;
public TableCell(int colspan, List<DocumentElement> children) {
this.children = children;
this.colspan = colspan;
}
public int getColspan() {
return colspan;
}
@Override
public List<DocumentElement> getChildren() {
return children;
}
@Override
public <T> T accept(DocumentElementVisitor<T> visitor) {
return visitor.visit(this);
}
}
|