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: package org.apache.html.dom;
018:
019: import org.w3c.dom.html.HTMLAppletElement;
020:
021: /**
022: * @xerces.internal
023: * @version $Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
024: * @author <a href="mailto:arkin@exoffice.com">Assaf Arkin</a>
025: * @see org.w3c.dom.html.HTMLAppletElement
026: * @see HTMLElementImpl
027: */
028: public class HTMLAppletElementImpl extends HTMLElementImpl implements
029: HTMLAppletElement {
030:
031: private static final long serialVersionUID = 8375794094117740967L;
032:
033: public String getAlign() {
034: return getAttribute("align");
035: }
036:
037: public void setAlign(String align) {
038: setAttribute("align", align);
039: }
040:
041: public String getAlt() {
042: return getAttribute("alt");
043: }
044:
045: public void setAlt(String alt) {
046: setAttribute("alt", alt);
047: }
048:
049: public String getArchive() {
050: return getAttribute("archive");
051: }
052:
053: public void setArchive(String archive) {
054: setAttribute("archive", archive);
055: }
056:
057: public String getCode() {
058: return getAttribute("code");
059: }
060:
061: public void setCode(String code) {
062: setAttribute("code", code);
063: }
064:
065: public String getCodeBase() {
066: return getAttribute("codebase");
067: }
068:
069: public void setCodeBase(String codeBase) {
070: setAttribute("codebase", codeBase);
071: }
072:
073: public String getHeight() {
074: return getAttribute("height");
075: }
076:
077: public void setHeight(String height) {
078: setAttribute("height", height);
079: }
080:
081: public String getHspace() {
082: return getAttribute("height");
083: }
084:
085: public void setHspace(String height) {
086: setAttribute("height", height);
087: }
088:
089: public String getName() {
090: return getAttribute("name");
091: }
092:
093: public void setName(String name) {
094: setAttribute("name", name);
095: }
096:
097: public String getObject() {
098: return getAttribute("object");
099: }
100:
101: public void setObject(String object) {
102: setAttribute("object", object);
103: }
104:
105: public String getVspace() {
106: return getAttribute("vspace");
107: }
108:
109: public void setVspace(String vspace) {
110: setAttribute("vspace", vspace);
111: }
112:
113: public String getWidth() {
114: return getAttribute("width");
115: }
116:
117: public void setWidth(String width) {
118: setAttribute("width", width);
119: }
120:
121: /**
122: * Constructor requires owner document.
123: *
124: * @param owner The owner HTML document
125: */
126: public HTMLAppletElementImpl(HTMLDocumentImpl owner, String name) {
127: super(owner, name);
128: }
129:
130: }
|