nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
amywu | 923ee60 | 2007-04-10 18:32:07 +0000 | [diff] [blame] | 2 | * Copyright (c) 2004, 2005 IBM Corporation and others. |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 3 | * All rights reserved. This program and the accompanying materials |
| 4 | * are made available under the terms of the Eclipse Public License v1.0 |
| 5 | * which accompanies this distribution, and is available at |
| 6 | * http://www.eclipse.org/legal/epl-v10.html |
amywu | 923ee60 | 2007-04-10 18:32:07 +0000 | [diff] [blame] | 7 | * |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 8 | * Contributors: |
| 9 | * IBM Corporation - initial API and implementation |
| 10 | *******************************************************************************/ |
david_williams | 63219a2 | 2005-04-10 01:59:51 +0000 | [diff] [blame] | 11 | package org.eclipse.wst.css.core.internal.provisional.document; |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 12 | |
| 13 | |
| 14 | |
| 15 | /** |
| 16 | * |
| 17 | */ |
| 18 | public interface ICSSSimpleSelector extends ICSSSelectorItem { |
| 19 | |
| 20 | /** |
| 21 | * @return java.lang.String |
| 22 | * @param index |
| 23 | * int |
| 24 | */ |
| 25 | String getAttribute(int index); |
| 26 | |
| 27 | /** |
| 28 | * @return java.lang.String |
| 29 | * @param index |
| 30 | * int |
| 31 | */ |
| 32 | String getClass(int index); |
| 33 | |
| 34 | /** |
| 35 | * @return java.lang.String |
| 36 | * @param index |
| 37 | * int |
| 38 | */ |
| 39 | String getID(int index); |
| 40 | |
| 41 | /** |
| 42 | * @return java.lang.String |
| 43 | */ |
| 44 | String getName(); |
| 45 | |
| 46 | /** |
| 47 | * @return boolean |
| 48 | */ |
| 49 | int getNumOfAttributes(); |
| 50 | |
| 51 | /** |
| 52 | * @return boolean |
| 53 | */ |
| 54 | int getNumOfClasses(); |
| 55 | |
| 56 | /** |
| 57 | * @return boolean |
| 58 | */ |
| 59 | int getNumOfIDs(); |
| 60 | |
| 61 | /** |
| 62 | * @return boolean |
| 63 | */ |
| 64 | int getNumOfPseudoNames(); |
| 65 | |
| 66 | /** |
| 67 | * @return java.lang.String |
| 68 | * @param index |
| 69 | * int |
| 70 | */ |
| 71 | String getPseudoName(int index); |
| 72 | |
| 73 | /** |
| 74 | * @return boolean |
| 75 | */ |
| 76 | boolean isUniversal(); |
amywu | 923ee60 | 2007-04-10 18:32:07 +0000 | [diff] [blame] | 77 | } |