001: /**
002: * org/ozone-db/xml/dom/html/HTMLAppletElementImpl.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.HTMLAppletElement
029: * @see HTMLElementImpl
030: */
031: public final class HTMLAppletElementImpl extends HTMLElementImpl
032: implements HTMLAppletElement {
033:
034: public String getAlign() {
035: return getAttribute("align");
036: }
037:
038: public void setAlign(String align) {
039: setAttribute("align", align);
040: }
041:
042: public String getAlt() {
043: return getAttribute("alt");
044: }
045:
046: public void setAlt(String alt) {
047: setAttribute("alt", alt);
048: }
049:
050: public String getArchive() {
051: return getAttribute("archive");
052: }
053:
054: public void setArchive(String archive) {
055: setAttribute("archive", archive);
056: }
057:
058: public String getCode() {
059: return getAttribute("code");
060: }
061:
062: public void setCode(String code) {
063: setAttribute("code", code);
064: }
065:
066: public String getCodeBase() {
067: return getAttribute("codebase");
068: }
069:
070: public void setCodeBase(String codeBase) {
071: setAttribute("codebase", codeBase);
072: }
073:
074: public String getHeight() {
075: return getAttribute("height");
076: }
077:
078: public void setHeight(String height) {
079: setAttribute("height", height);
080: }
081:
082: public String getHspace() {
083: return getAttribute("height");
084: }
085:
086: public void setHspace(String height) {
087: setAttribute("height", height);
088: }
089:
090: public String getName() {
091: return getAttribute("name");
092: }
093:
094: public void setName(String name) {
095: setAttribute("name", name);
096: }
097:
098: public String getObject() {
099: return getAttribute("object");
100: }
101:
102: public void setObject(String object) {
103: setAttribute("object", object);
104: }
105:
106: public String getVspace() {
107: return getAttribute("vspace");
108: }
109:
110: public void setVspace(String vspace) {
111: setAttribute("vspace", vspace);
112: }
113:
114: public String getWidth() {
115: return getAttribute("width");
116: }
117:
118: public void setWidth(String width) {
119: setAttribute("width", width);
120: }
121:
122: /**
123: * Constructor requires owner document.
124: *
125: * @param owner The owner HTML document
126: */
127: public HTMLAppletElementImpl(HTMLDocumentImpl owner, String name) {
128: super (owner, "APPLET");
129: }
130:
131: }
|