blob: 62e2944d6edd093f189a32621f42f67715cb1b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package org.zwobble.mammoth.internal.documents;
public class Checkbox implements DocumentElement {
private final boolean checked;
public Checkbox(boolean checked) {
this.checked = checked;
}
public boolean checked() {
return this.checked;
}
@Override
public <T, U> T accept(DocumentElementVisitor<T, U> visitor, U context) {
return visitor.visit(this, context);
}
}
|