/*
* Copyright (c) 1999 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*
* $Id: ElementSelector.java 477010 2006-11-20 02:54:38Z mrglavas $
*/
package org.w3c.css.sac;
/**
* The Interface ElementSelector.
*
* @author Philippe Le Hegaret
* @version $Revision: 477010 $
* @see Selector#SAC_ELEMENT_NODE_SELECTOR
*/
public interface ElementSelector extends SimpleSelector {
/**
* Returns the <a
* href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace URI</a> of
* this element selector.
* <p>
* <code>NULL</code> if this element selector can match any namespace.
* </p>
*
* @return the namespace uri
*/
public String getNamespaceURI();
/**
* Returns the <a
* href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a> of
* the <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
* name</a> of this element.
* <p>
* <code>NULL</code> if this element selector can match any element.
* </p>
*
* @return the local name
*/
public String getLocalName();
}