aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/util/Node.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/model/util/Node.java')
-rw-r--r--src/main/model/util/Node.java4
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();
}