diff options
author | j-james | 2022-10-29 04:22:06 +0000 |
---|---|---|
committer | j-james | 2022-10-29 04:22:06 +0000 |
commit | 106a0fe85effd27f8da28d17cf1053d5c50cd5fc (patch) | |
tree | a5f706008452fb30091e59752576a09aaf6ca390 /src/main/model/util/Node.java | |
parent | 9a512732accf6869764fedc7c5d1abad57c6cb28 (diff) |
Implement functionality for P2
Diffstat (limited to 'src/main/model/util/Node.java')
-rw-r--r-- | src/main/model/util/Node.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/model/util/Node.java b/src/main/model/util/Node.java index 4057fab..a6fedaf 100644 --- a/src/main/model/util/Node.java +++ b/src/main/model/util/Node.java @@ -1,5 +1,7 @@ package model.util; +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. @@ -7,4 +9,6 @@ package model.util; public interface Node { // Return a representation of the Node. Useful for debugging. public String getData(); + + public JSONObject serialize(); } |