diff options
Diffstat (limited to 'src/main/model/html/Node.java')
-rw-r--r-- | src/main/model/html/Node.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/model/html/Node.java b/src/main/model/html/Node.java new file mode 100644 index 0000000..3284b3c --- /dev/null +++ b/src/main/model/html/Node.java @@ -0,0 +1,14 @@ +package model.html; + +import org.json.JSONObject; + +/** + * This Node represents an abstract relationship between ElementNode and TextNode. + * It's extremely helpful / necessary for Lists of arbitrary ElementNodes/TextNodes. + */ +public interface Node { + // Return a representation of the Node. Useful for debugging. + public String getData(); + + public JSONObject serialize(); +} |