Source Code Cross Referenced for HTMLAnchorElementImpl.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » xml » dom » html » 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 » Database DBMS » Ozone 1.1 » org.ozoneDB.xml.dom.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * org/ozone-db/xml/dom/html/HTMLAnchorElementImpl.java
003:         *
004:         * The contents of this file are subject to the OpenXML Public
005:         * License Version 1.0; you may not use this file except in compliance
006:         * with the License. You may obtain a copy of the License at
007:         * http://www.openxml.org/license.html
008:         *
009:         * THIS SOFTWARE IS DISTRIBUTED ON AN "AS IS" BASIS WITHOUT WARRANTY
010:         * OF ANY KIND, EITHER EXPRESSED OR IMPLIED. THE INITIAL DEVELOPER
011:         * AND ALL CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY DAMAGES AS A
012:         * RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
013:         * DERIVATIVES. SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING
014:         * RIGHTS AND LIMITATIONS UNDER THE LICENSE.
015:         *
016:         * The Initial Developer of this code under the License is Assaf Arkin.
017:         * Portions created by Assaf Arkin are Copyright (C) 1998, 1999.
018:         * All Rights Reserved.
019:         */package org.ozoneDB.xml.dom.html;
020:
021:        import org.ozoneDB.xml.dom.*;
022:        import org.w3c.dom.*;
023:        import org.w3c.dom.html.*;
024:
025:        /**
026:         * @version $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
027:         * @author <a href="mailto:arkin@trendline.co.il">Assaf Arkin</a>
028:         * @see org.w3c.dom.html.HTMLAnchorElement
029:         * @see ElementImpl
030:         */
031:        public final class HTMLAnchorElementImpl extends HTMLElementImpl
032:                implements  HTMLAnchorElement {
033:
034:            public String getAccessKey() {
035:                String accessKey;
036:
037:                // Make sure that the access key is a single character.
038:                accessKey = getAttribute("accesskey");
039:                if (accessKey != null && accessKey.length() > 1) {
040:                    accessKey = accessKey.substring(0, 1);
041:                }
042:                return accessKey;
043:            }
044:
045:            public void setAccessKey(String accessKey) {
046:                // Make sure that the access key is a single character.
047:                if (accessKey != null && accessKey.length() > 1) {
048:                    accessKey = accessKey.substring(0, 1);
049:                }
050:                setAttribute("accesskey", accessKey);
051:            }
052:
053:            public String getCharset() {
054:                return getAttribute("charset");
055:            }
056:
057:            public void setCharset(String charset) {
058:                setAttribute("charset", charset);
059:            }
060:
061:            public String getCoords() {
062:                return getAttribute("coords");
063:            }
064:
065:            public void setCoords(String coords) {
066:                setAttribute("coords", coords);
067:            }
068:
069:            public String getHref() {
070:                return getAttribute("href");
071:            }
072:
073:            public void setHref(String href) {
074:                setAttribute("href", href);
075:            }
076:
077:            public String getHreflang() {
078:                return getAttribute("hreflang");
079:            }
080:
081:            public void setHreflang(String hreflang) {
082:                setAttribute("hreflang", hreflang);
083:            }
084:
085:            public String getName() {
086:                return getAttribute("name");
087:            }
088:
089:            public void setName(String name) {
090:                setAttribute("name", name);
091:            }
092:
093:            public String getRel() {
094:                return getAttribute("rel");
095:            }
096:
097:            public void setRel(String rel) {
098:                setAttribute("rel", rel);
099:            }
100:
101:            public String getRev() {
102:                return getAttribute("rev");
103:            }
104:
105:            public void setRev(String rev) {
106:                setAttribute("rev", rev);
107:            }
108:
109:            public String getShape() {
110:                return capitalize(getAttribute("shape"));
111:            }
112:
113:            public void setShape(String shape) {
114:                setAttribute("shape", shape);
115:            }
116:
117:            public int getTabIndex() {
118:                return this .toInteger(getAttribute("tabindex"));
119:            }
120:
121:            public void setTabIndex(int tabIndex) {
122:                setAttribute("tabindex", String.valueOf(tabIndex));
123:            }
124:
125:            public String getTarget() {
126:                return getAttribute("target");
127:            }
128:
129:            public void setTarget(String target) {
130:                setAttribute("target", target);
131:            }
132:
133:            public String getType() {
134:                return getAttribute("type");
135:            }
136:
137:            public void setType(String type) {
138:                setAttribute("type", type);
139:            }
140:
141:            public void blur() {
142:                // No scripting in server-side DOM. This method is moot.
143:            }
144:
145:            public void focus() {
146:                // No scripting in server-side DOM. This method is moot.
147:            }
148:
149:            /**
150:             * Constructor requires owner document.
151:             *
152:             * @param owner The owner HTML document
153:             */
154:            public HTMLAnchorElementImpl(HTMLDocumentImpl owner, String name) {
155:                super (owner, "A");
156:            }
157:
158:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.