KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > css > sac > SelectorList


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,v 1.1.1.1 2003/12/28 21:23:54 davidsch Exp $
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: 1.1.1.1 $
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
33
Popular Tags