aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/html/Node.java
blob: 3284b3c741d29f4cd92ee1c2c08e2daeac9e4a56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
}