summaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/internal/documents/Document.java
blob: 5adc50d2b26fb001bcf8e716fc9126bd9c04b637 (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 Document implements HasChildren {
    private final List<DocumentElement> children;
    private final Notes notes;
    private final List<Comment> comments;

    public Document(List<DocumentElement> children, Notes notes, List<Comment> comments) {
        this.children = children;
        this.notes = notes;
        this.comments = comments;
    }

    public List<DocumentElement> getChildren() {
        return children;
    }

    public Notes getNotes() {
        return notes;
    }

    public List<Comment> getComments() {
        return comments;
    }
}