blob: 5d9fb82ae367f4bc063ef2e59507d8844114ad20 [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001/*******************************************************************************
amywu923ee602007-04-10 18:32:07 +00002 * Copyright (c) 2004, 2005 IBM Corporation and others.
nitind958d79a2004-11-23 19:23:00 +00003 * 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
amywu923ee602007-04-10 18:32:07 +00007 *
nitind958d79a2004-11-23 19:23:00 +00008 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
david_williams63219a22005-04-10 01:59:51 +000011package org.eclipse.wst.css.core.internal.provisional.document;
nitind958d79a2004-11-23 19:23:00 +000012
13
14
15/**
16 *
17 */
18public 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();
amywu923ee602007-04-10 18:32:07 +000077}