Source Code Cross Referenced for DOMAttrMapImpl.java in  » IDE-Netbeans » visualweb.api.designer » org » w3c » tidy » 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.tidy 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * @(#)DOMAttrMapImpl.java   1.11 2000/08/16
003:         *
004:         */
005:
006:        package org.w3c.tidy;
007:
008:        import org.w3c.dom.DOMException;
009:
010:        /**
011:         *
012:         * DOMAttrMapImpl
013:         *
014:         * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
015:         * See Tidy.java for the copyright notice.
016:         * Derived from <a href="http://www.w3.org/People/Raggett/tidy">
017:         * HTML Tidy Release 4 Aug 2000</a>
018:         *
019:         * @author  Dave Raggett <dsr@w3.org>
020:         * @author  Andy Quick <ac.quick@sympatico.ca> (translation to Java)
021:         * @version 1.4, 1999/09/04 DOM support
022:         * @version 1.5, 1999/10/23 Tidy Release 27 Sep 1999
023:         * @version 1.6, 1999/11/01 Tidy Release 22 Oct 1999
024:         * @version 1.7, 1999/12/06 Tidy Release 30 Nov 1999
025:         * @version 1.8, 2000/01/22 Tidy Release 13 Jan 2000
026:         * @version 1.9, 2000/06/03 Tidy Release 30 Apr 2000
027:         * @version 1.10, 2000/07/22 Tidy Release 8 Jul 2000
028:         * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
029:         */
030:
031:        public class DOMAttrMapImpl implements  org.w3c.dom.NamedNodeMap {
032:
033:            private AttVal first = null;
034:
035:            protected DOMAttrMapImpl(AttVal first) {
036:                this .first = first;
037:            }
038:
039:            /**
040:             * @see org.w3c.dom.NamedNodeMap#getNamedItem
041:             */
042:            public org.w3c.dom.Node getNamedItem(String name) {
043:                AttVal att = this .first;
044:                while (att != null) {
045:                    if (att.attribute.equals(name))
046:                        break;
047:                    att = att.next;
048:                }
049:                if (att != null)
050:                    return att.getAdapter();
051:                else
052:                    return null;
053:            }
054:
055:            /**
056:             * @see org.w3c.dom.NamedNodeMap#setNamedItem
057:             */
058:            public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
059:                    throws DOMException {
060:                // NOT SUPPORTED
061:                return null;
062:            }
063:
064:            /**
065:             * @see org.w3c.dom.NamedNodeMap#removeNamedItem
066:             */
067:            public org.w3c.dom.Node removeNamedItem(String name)
068:                    throws DOMException {
069:                // NOT SUPPORTED
070:                return null;
071:            }
072:
073:            /**
074:             * @see org.w3c.dom.NamedNodeMap#item
075:             */
076:            public org.w3c.dom.Node item(int index) {
077:                int i = 0;
078:                AttVal att = this .first;
079:                while (att != null) {
080:                    if (i >= index)
081:                        break;
082:                    i++;
083:                    att = att.next;
084:                }
085:                if (att != null)
086:                    return att.getAdapter();
087:                else
088:                    return null;
089:            }
090:
091:            /**
092:             * @see org.w3c.dom.NamedNodeMap#getLength
093:             */
094:            public int getLength() {
095:                int len = 0;
096:                AttVal att = this .first;
097:                while (att != null) {
098:                    len++;
099:                    att = att.next;
100:                }
101:                return len;
102:            }
103:
104:            /**
105:             * DOM2 - not implemented.
106:             */
107:            public org.w3c.dom.Node getNamedItemNS(String namespaceURI,
108:                    String localName) {
109:                return null;
110:            }
111:
112:            /**
113:             * DOM2 - not implemented.
114:             * @exception   org.w3c.dom.DOMException
115:             */
116:            public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
117:                    throws org.w3c.dom.DOMException {
118:                return null;
119:            }
120:
121:            /**
122:             * DOM2 - not implemented.
123:             * @exception   org.w3c.dom.DOMException
124:             */
125:            public org.w3c.dom.Node removeNamedItemNS(String namespaceURI,
126:                    String localName) throws org.w3c.dom.DOMException {
127:                return null;
128:            }
129:
130:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.