Node.java |
1 /* 2 * Node.java 3 * 4 * Copyright (c) 1998-2005, The University of Sheffield. 5 * 6 * This file is part of GATE (see http://gate.ac.uk/), and is free 7 * software, licenced under the GNU Library General Public License, 8 * Version 2, June 1991 (in the distribution as file licence.html, 9 * and also available at http://gate.ac.uk/gate/licence.html). 10 * 11 * Hamish Cunningham, 19/Jan/2000 12 * 13 * $Id: Node.java,v 1.16 2005/01/11 13:51:30 ian Exp $ 14 */ 15 16 package gate; 17 import java.io.Serializable; 18 19 import gate.util.IdBearer; 20 21 /** Nodes in AnnotationSets. Immutable. 22 */ 23 public interface Node extends IdBearer, Serializable 24 { 25 26 /** Offset (will be null when the node is not anchored) */ 27 public Long getOffset(); 28 29 } // interface Node 30