diff options
Diffstat (limited to 'src/main/java/org/zwobble/mammoth/documents/NoteReference.java')
| -rw-r--r-- | src/main/java/org/zwobble/mammoth/documents/NoteReference.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/main/java/org/zwobble/mammoth/documents/NoteReference.java b/src/main/java/org/zwobble/mammoth/documents/NoteReference.java deleted file mode 100644 index 11190c3..0000000 --- a/src/main/java/org/zwobble/mammoth/documents/NoteReference.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.zwobble.mammoth.documents; - -public class NoteReference implements DocumentElement { - public static NoteReference footnoteReference(String noteId) { - return new NoteReference(NoteType.FOOTNOTE, noteId); - } - - public static NoteReference endnoteReference(String noteId) { - return new NoteReference(NoteType.ENDNOTE, noteId); - } - - private final NoteType noteType; - private final String noteId; - - public NoteReference(NoteType noteType, String noteId) { - this.noteType = noteType; - this.noteId = noteId; - } - - public NoteType getNoteType() { - return noteType; - } - - public String getNoteId() { - return noteId; - } - - @Override - public <T> T accept(DocumentElementVisitor<T> visitor) { - return visitor.visit(this); - } -} |
