aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/util/Node.java
diff options
context:
space:
mode:
authorj-james2022-10-17 08:33:03 +0000
committerj-james2022-10-17 08:33:03 +0000
commit2bb1c153b693095b6bbafdfad139791817280af4 (patch)
tree22ab1ec74b50abbd0dc066e88a29f2ab36942db9 /src/main/model/util/Node.java
parent0caf1994dae8e88f7c219bedd87b65190b88aa89 (diff)
Refactor HtmlParser to construct a list of Nodes
Diffstat (limited to 'src/main/model/util/Node.java')
-rw-r--r--src/main/model/util/Node.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/model/util/Node.java b/src/main/model/util/Node.java
new file mode 100644
index 0000000..010a2da
--- /dev/null
+++ b/src/main/model/util/Node.java
@@ -0,0 +1,10 @@
+package model.util;
+
+/**
+ * yeah there's literally nothing here
+ * i just need to establish that ElementNode and TextNode both inherit from Node
+ */
+public interface Node {
+ // Return a representation of the Node
+ public String getData();
+}