01: /*
02: * Copyright (c) 1999 World Wide Web Consortium
03: * (Massachusetts Institute of Technology, Institut National de Recherche
04: * en Informatique et en Automatique, Keio University).
05: * All Rights Reserved. http://www.w3.org/Consortium/Legal/
06: *
07: * $Id$
08: */
09: 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$
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: }
|