summaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/internal/documents/Document.java
blob: 447d6ede577b84b08e0d985b8db1a964a4ae61ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.zwobble.mammoth.internal.documents;

import java.util.List;

public class Document implements HasChildren {
    private final List<DocumentElement> children;
    private final Notes notes;

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

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

    public Notes getNotes() {
        return notes;
    }
}