blob: a6fedafa831c57b969cf345e72dfe305f7b74d7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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.
*/
public interface Node {
// Return a representation of the Node. Useful for debugging.
public String getData();
public JSONObject serialize();
}
|