View Javadoc

1   /*
2    * Copyright (C) 2007 Tim Pizey.  
3    *
4    * This program is free software; you can redistribute it and/or modify
5    * it under the terms of the GNU General Public License, version 2, as 
6    * published by the Free Software Foundation.  
7    *
8    * This program is distributed in the hope that it will be useful,
9    * but WITHOUT ANY WARRANTY; without even the implied warranty of
10   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   * GNU General Public License (http://www.gnu.org/copyleft/gpl.txt)
12   * for more details.
13   */
14  
15  package com.quiotix.html.parser;
16  
17  /**
18   * A Character sequence has a length. 
19   * 
20   * @author timp
21   * @since 15 Nov 2007
22   *
23   */
24  public interface Sized {
25      /**
26       * @return the number of characters
27       */
28      int getLength();
29  }