Source Code Cross Referenced for DefaultElement.java in  » XML » xerces-2_9_1 » org » apache » xerces » impl » xs » opti » 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 » XML » xerces 2_9_1 » org.apache.xerces.impl.xs.opti 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         * 
009:         *      http://www.apache.org/licenses/LICENSE-2.0
010:         * 
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */
017:
018:        package org.apache.xerces.impl.xs.opti;
019:
020:        import org.w3c.dom.TypeInfo;
021:        import org.w3c.dom.Attr;
022:        import org.w3c.dom.Element;
023:        import org.w3c.dom.NodeList;
024:
025:        import org.w3c.dom.DOMException;
026:
027:        /**
028:         * @xerces.internal  
029:         * 
030:         * @author Rahul Srivastava, Sun Microsystems Inc.
031:         *
032:         * @version $Id: DefaultElement.java 446728 2006-09-15 20:43:46Z mrglavas $
033:         */
034:        public class DefaultElement extends NodeImpl implements  Element {
035:
036:            // default constructor
037:            public DefaultElement() {
038:            }
039:
040:            public DefaultElement(String prefix, String localpart,
041:                    String rawname, String uri, short nodeType) {
042:                super (prefix, localpart, rawname, uri, nodeType);
043:            }
044:
045:            //
046:            // org.w3c.dom.Element methods
047:            //
048:
049:            // getter methods
050:            public String getTagName() {
051:                return null;
052:            }
053:
054:            public String getAttribute(String name) {
055:                return null;
056:            }
057:
058:            public Attr getAttributeNode(String name) {
059:                return null;
060:            }
061:
062:            public NodeList getElementsByTagName(String name) {
063:                return null;
064:            }
065:
066:            public String getAttributeNS(String namespaceURI, String localName) {
067:                return null;
068:            }
069:
070:            public Attr getAttributeNodeNS(String namespaceURI, String localName) {
071:                return null;
072:            }
073:
074:            public NodeList getElementsByTagNameNS(String namespaceURI,
075:                    String localName) {
076:                return null;
077:            }
078:
079:            public boolean hasAttribute(String name) {
080:                return false;
081:            }
082:
083:            public boolean hasAttributeNS(String namespaceURI, String localName) {
084:                return false;
085:            }
086:
087:            public TypeInfo getSchemaTypeInfo() {
088:                return null;
089:            }
090:
091:            // setter methods
092:            public void setAttribute(String name, String value)
093:                    throws DOMException {
094:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
095:                        "Method not supported");
096:            }
097:
098:            public void removeAttribute(String name) throws DOMException {
099:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
100:                        "Method not supported");
101:            }
102:
103:            public Attr removeAttributeNode(Attr oldAttr) throws DOMException {
104:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
105:                        "Method not supported");
106:            }
107:
108:            public Attr setAttributeNode(Attr newAttr) throws DOMException {
109:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
110:                        "Method not supported");
111:            }
112:
113:            public void setAttributeNS(String namespaceURI,
114:                    String qualifiedName, String value) throws DOMException {
115:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
116:                        "Method not supported");
117:            }
118:
119:            public void removeAttributeNS(String namespaceURI, String localName)
120:                    throws DOMException {
121:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
122:                        "Method not supported");
123:            }
124:
125:            public Attr setAttributeNodeNS(Attr newAttr) throws DOMException {
126:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
127:                        "Method not supported");
128:            }
129:
130:            public void setIdAttributeNode(Attr at, boolean makeId)
131:                    throws DOMException {
132:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
133:                        "Method not supported");
134:            }
135:
136:            public void setIdAttribute(String name, boolean makeId)
137:                    throws DOMException {
138:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
139:                        "Method not supported");
140:            }
141:
142:            public void setIdAttributeNS(String namespaceURI, String localName,
143:                    boolean makeId) throws DOMException {
144:                throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
145:                        "Method not supported");
146:            }
147:
148:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.