From 2bb1c153b693095b6bbafdfad139791817280af4 Mon Sep 17 00:00:00 2001 From: j-james Date: Mon, 17 Oct 2022 01:33:03 -0700 Subject: Refactor HtmlParser to construct a list of Nodes --- src/main/model/util/Node.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/model/util/Node.java (limited to 'src/main/model/util') 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(); +} -- cgit v1.2.3-70-g09d2