blob: 22d9306b04c11a9c22e6ec1fff792755b668e2f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.zwobble.mammoth.documents;
import java.util.List;
import java.util.Optional;
public class ParagraphElement implements DocumentElement, HasChildren {
private final Optional<Style> style;
private final List<DocumentElement> children;
public ParagraphElement(Optional<Style> style, List<DocumentElement> children) {
this.style = style;
this.children = children;
}
public Optional<Style> getStyle() {
return style;
}
public List<DocumentElement> getChildren() {
return children;
}
}
|