From 3e2786a004eddf968a5fa7d5a92dff5b1b5f7734 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 24 Feb 2016 08:16:16 +0000 Subject: Create internal package --- .../zwobble/mammoth/documents/NoteReference.java | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/main/java/org/zwobble/mammoth/documents/NoteReference.java (limited to 'src/main/java/org/zwobble/mammoth/documents/NoteReference.java') 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 accept(DocumentElementVisitor visitor) { - return visitor.visit(this); - } -} -- cgit v1.2.3