Source Code Cross Referenced for SelectorFactory.java in  » IDE-Netbeans » visualweb.api.designer » org » w3c » css » sac » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » org.w3c.css.sac 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 1999 World Wide Web Consortium,
003:         * (Massachusetts Institute of Technology, Institut National de
004:         * Recherche en Informatique et en Automatique, Keio University). All
005:         * Rights Reserved. This program is distributed under the W3C's Software
006:         * Intellectual Property License. This program is distributed in the
007:         * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008:         * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009:         * PURPOSE.
010:         * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011:         *
012:         * $Id$
013:         */
014:        package org.w3c.css.sac;
015:
016:        /**
017:         * @version $Revision$
018:         * @author  Philippe Le Hegaret
019:         * @see org.w3c.css.sac.Selector
020:         */
021:        public interface SelectorFactory {
022:
023:            /**
024:             * Creates a conditional selector.
025:             * 
026:             * @param selector a selector.
027:             * @param condition a condition
028:             * @return the conditional selector.
029:             * @exception CSSException If this selector is not supported.
030:             */
031:            ConditionalSelector createConditionalSelector(
032:                    SimpleSelector selector, Condition condition)
033:                    throws CSSException;
034:
035:            /**
036:             * Creates an any node selector.
037:             * 
038:             * @return the any node selector.
039:             * @exception CSSException If this selector is not supported.
040:             */
041:            SimpleSelector createAnyNodeSelector() throws CSSException;
042:
043:            /**
044:             * Creates an root node selector.
045:             * 
046:             * @return the root node selector.
047:             * @exception CSSException If this selector is not supported.
048:             */
049:            SimpleSelector createRootNodeSelector() throws CSSException;
050:
051:            /**
052:             * Creates an negative selector.
053:             * 
054:             * @param selector a selector.
055:             * @return the negative selector.
056:             * @exception CSSException If this selector is not supported.
057:             */
058:            NegativeSelector createNegativeSelector(SimpleSelector selector)
059:                    throws CSSException;
060:
061:            /**
062:             * Creates an element selector.
063:             * 
064:             * @param namespaceURI the <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
065:             *                     URI</a> of the element selector.
066:             * @param tagName the <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local
067:             *        part</a> of the element name. <code>NULL</code> if this element
068:             *        selector can match any element.</p>
069:             * @return the element selector
070:             * @exception CSSException If this selector is not supported.
071:             */
072:            ElementSelector createElementSelector(String namespaceURI,
073:                    String tagName) throws CSSException;
074:
075:            /**
076:             * Creates a text node selector.
077:             * 
078:             * @param data the data
079:             * @return the text node selector
080:             * @exception CSSException If this selector is not supported.
081:             */
082:            CharacterDataSelector createTextNodeSelector(String data)
083:                    throws CSSException;
084:
085:            /**
086:             * Creates a cdata section node selector.
087:             * 
088:             * @param data the data
089:             * @return the cdata section node selector
090:             * @exception CSSException If this selector is not supported.
091:             */
092:            CharacterDataSelector createCDataSectionSelector(String data)
093:                    throws CSSException;
094:
095:            /**
096:             * Creates a processing instruction node selector.
097:             * 
098:             * @param target the target
099:             * @param data the data
100:             * @return the processing instruction node selector
101:             * @exception CSSException If this selector is not supported.
102:             */
103:            ProcessingInstructionSelector createProcessingInstructionSelector(
104:                    String target, String data) throws CSSException;
105:
106:            /**
107:             * Creates a comment node selector.
108:             * 
109:             * @param data the data
110:             * @return the comment node selector
111:             * @exception CSSException If this selector is not supported.
112:             */
113:            CharacterDataSelector createCommentSelector(String data)
114:                    throws CSSException;
115:
116:            /**
117:             * Creates a pseudo element selector.
118:             * 
119:             * @param pseudoName the pseudo element name. <code>NULL</code> if this
120:             *                   element selector can match any pseudo element.</p>
121:             * @return the element selector
122:             * @exception CSSException If this selector is not supported.
123:             */
124:            ElementSelector createPseudoElementSelector(String namespaceURI,
125:                    String pseudoName) throws CSSException;
126:
127:            /**
128:             * Creates a descendant selector.
129:             *
130:             * @param parent the parent selector
131:             * @param descendant the descendant selector
132:             * @return the combinator selector.
133:             * @exception CSSException If this selector is not supported.
134:             */
135:            DescendantSelector createDescendantSelector(Selector parent,
136:                    SimpleSelector descendant) throws CSSException;
137:
138:            /**
139:             * Creates a child selector.
140:             *
141:             * @param parent the parent selector
142:             * @param child the child selector
143:             * @return the combinator selector.
144:             * @exception CSSException If this selector is not supported.
145:             */
146:            DescendantSelector createChildSelector(Selector parent,
147:                    SimpleSelector child) throws CSSException;
148:
149:            /**
150:             * Creates a sibling selector.
151:             *
152:             * @param nodeType the type of nodes in the siblings list.
153:             * @param child the child selector
154:             * @param adjacent the direct adjacent selector
155:             * @return the sibling selector with nodeType 
156:                       equals to org.w3c.dom.Node.ELEMENT_NODE
157:             * @exception CSSException If this selector is not supported.
158:             */
159:            SiblingSelector createDirectAdjacentSelector(short nodeType,
160:                    Selector child, SimpleSelector directAdjacent)
161:                    throws CSSException;
162:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.