| /******************************************************************************* |
| * Copyright (c) 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.wst.css.core.internal.provisional.document; |
| |
| |
| |
| import java.util.Iterator; |
| |
| import org.w3c.dom.Element; |
| |
| /** |
| * |
| */ |
| public interface ICSSSelector { |
| |
| ICSSSelectorItem getItem(int index); |
| |
| /** |
| * @return java.util.Iterator |
| */ |
| Iterator getIterator(); |
| |
| /** |
| * @return int |
| */ |
| int getLength(); |
| |
| /** |
| * @return int |
| */ |
| int getSpecificity(); |
| |
| /** |
| * @return java.lang.String |
| */ |
| String getString(); |
| |
| /** |
| * @return boolean |
| * @param element |
| * org.w3c.dom.Element |
| */ |
| boolean match(Element element, String pseudoName); |
| |
| /** |
| * |
| */ |
| Iterator getErrors(); |
| |
| /** |
| * |
| */ |
| int getErrorCount(); |
| } |