diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-13 21:25:42 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-13 21:25:42 +0000 |
| commit | ed074b78dbb2a0d15ccb985b1e9531aace0fd4ea (patch) | |
| tree | d8617df25bdcc3627392b984b2f17d7a7874484d /src/main/java/org/zwobble/mammoth/documents/NoteReference.java | |
| parent | 6efa9397505e42b318879230d3b10a00f1ff2761 (diff) | |
Read footnote references
Diffstat (limited to 'src/main/java/org/zwobble/mammoth/documents/NoteReference.java')
| -rw-r--r-- | src/main/java/org/zwobble/mammoth/documents/NoteReference.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/org/zwobble/mammoth/documents/NoteReference.java b/src/main/java/org/zwobble/mammoth/documents/NoteReference.java new file mode 100644 index 0000000..05311c0 --- /dev/null +++ b/src/main/java/org/zwobble/mammoth/documents/NoteReference.java @@ -0,0 +1,18 @@ +package org.zwobble.mammoth.documents; + +public class NoteReference implements DocumentElement { + public static NoteReference footnoteReference(String noteId) { + return new NoteReference(noteId); + } + + private final String noteId; + + public NoteReference(String noteId) { + this.noteId = noteId; + } + + @Override + public <T> T accept(DocumentElementVisitor<T> visitor) { + return visitor.visit(this); + } +} |
