KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Copyright (c) 1999 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE.
10  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11  *
12  * $Id: ElementSelector.java,v 1.1.1.1 2003/12/28 21:23:48 davidsch Exp $
13  */

14 package org.w3c.css.sac;
15
16 /**
17  * @version $Revision: 1.1.1.1 $
18  * @author Philippe Le Hegaret
19  * @see Selector#SAC_ELEMENT_NODE_SELECTOR
20  */

21 public interface ElementSelector extends SimpleSelector {
22
23     /**
24      * Returns the
25      * <a HREF="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
26      * URI</a> of this element selector.
27      * <p><code>NULL</code> if this element selector can match any namespace.</p>
28      */

29     public String JavaDoc getNamespaceURI();
30
31     /**
32      * Returns the
33      * <a HREF="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
34      * of the
35      * <a HREF="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
36      * name</a> of this element.
37      * <p><code>NULL</code> if this element selector can match any element.</p>
38      * </ul>
39      */

40     public String JavaDoc getLocalName();
41 }
42
Popular Tags