1 /*
2 * Copyright (c) 1999 World Wide Web Consortium
3 * (Massachusetts Institute of Technology, Institut National de Recherche
4 * en Informatique et en Automatique, Keio University).
5 * All Rights Reserved. http://www.w3.org/Consortium/Legal/
6 *
7 * $Id: SelectorList.java 477010 2006-11-20 02:54:38Z mrglavas $
8 */
9 package org.w3c.css.sac;
10
11 /**
12 * The SelectorList interface provides the abstraction of an ordered collection
13 * of selectors, without defining or constraining how this collection is
14 * implemented.
15 *
16 * @version $Revision: 477010 $
17 * @author Philippe Le Hegaret
18 */
19 public interface SelectorList {
20
21 /**
22 * Returns the length of this selector list
23 */
24 public int getLength();
25
26 /**
27 * Returns the selector at the specified index, or <code>null</code> if this
28 * is not a valid index.
29 */
30 public Selector item(int index);
31 }
32