Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/w3c/dom/html/HTMLObjectElement.java
86410 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*/2324/*25* This file is available under and governed by the GNU General Public26* License version 2 only, as published by the Free Software Foundation.27* However, the following notice accompanied the original version of this28* file and, per its terms, should not be removed:29*30* Copyright (c) 2000 World Wide Web Consortium,31* (Massachusetts Institute of Technology, Institut National de32* Recherche en Informatique et en Automatique, Keio University). All33* Rights Reserved. This program is distributed under the W3C's Software34* Intellectual Property License. This program is distributed in the35* hope that it will be useful, but WITHOUT ANY WARRANTY; without even36* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR37* PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more38* details.39*/4041package org.w3c.dom.html;4243import org.w3c.dom.Document;4445/**46* Generic embedded object. Note. In principle, all properties on the object47* element are read-write but in some environments some properties may be48* read-only once the underlying object is instantiated. See the OBJECT49* element definition in HTML 4.0.50* <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.51*/52public interface HTMLObjectElement extends HTMLElement {53/**54* Returns the <code>FORM</code> element containing this control. Returns55* <code>null</code> if this control is not within the context of a form.56*/57public HTMLFormElement getForm();5859/**60* Applet class file. See the <code>code</code> attribute for61* HTMLAppletElement.62*/63public String getCode();64public void setCode(String code);6566/**67* Aligns this object (vertically or horizontally) with respect to its68* surrounding text. See the align attribute definition in HTML 4.0.69* This attribute is deprecated in HTML 4.0.70*/71public String getAlign();72public void setAlign(String align);7374/**75* Space-separated list of archives. See the archive attribute definition76* in HTML 4.0.77*/78public String getArchive();79public void setArchive(String archive);8081/**82* Width of border around the object. See the border attribute definition83* in HTML 4.0. This attribute is deprecated in HTML 4.0.84*/85public String getBorder();86public void setBorder(String border);8788/**89* Base URI for <code>classid</code> , <code>data</code> , and90* <code>archive</code> attributes. See the codebase attribute definition91* in HTML 4.0.92*/93public String getCodeBase();94public void setCodeBase(String codeBase);9596/**97* Content type for data downloaded via <code>classid</code> attribute.98* See the codetype attribute definition in HTML 4.0.99*/100public String getCodeType();101public void setCodeType(String codeType);102103/**104* A URI specifying the location of the object's data. See the data105* attribute definition in HTML 4.0.106*/107public String getData();108public void setData(String data);109110/**111* Declare (for future reference), but do not instantiate, this object.112* See the declare attribute definition in HTML 4.0.113*/114public boolean getDeclare();115public void setDeclare(boolean declare);116117/**118* Override height. See the height attribute definition in HTML 4.0.119*/120public String getHeight();121public void setHeight(String height);122123/**124* Horizontal space to the left and right of this image, applet, or125* object. See the hspace attribute definition in HTML 4.0. This126* attribute is deprecated in HTML 4.0.127*/128public String getHspace();129public void setHspace(String hspace);130131/**132* Form control or object name when submitted with a form. See the name133* attribute definition in HTML 4.0.134*/135public String getName();136public void setName(String name);137138/**139* Message to render while loading the object. See the standby attribute140* definition in HTML 4.0.141*/142public String getStandby();143public void setStandby(String standby);144145/**146* Index that represents the element's position in the tabbing order. See147* the tabindex attribute definition in HTML 4.0.148*/149public int getTabIndex();150public void setTabIndex(int tabIndex);151152/**153* Content type for data downloaded via <code>data</code> attribute. See154* the type attribute definition in HTML 4.0.155*/156public String getType();157public void setType(String type);158159/**160* Use client-side image map. See the usemap attribute definition in161* HTML 4.0.162*/163public String getUseMap();164public void setUseMap(String useMap);165166/**167* Vertical space above and below this image, applet, or object. See the168* vspace attribute definition in HTML 4.0. This attribute is deprecated169* in HTML 4.0.170*/171public String getVspace();172public void setVspace(String vspace);173174/**175* Override width. See the width attribute definition in HTML 4.0.176*/177public String getWidth();178public void setWidth(String width);179180/**181* The document this object contains, if there is any and it is182* available, or <code>null</code> otherwise.183* @since DOM Level 2184*/185public Document getContentDocument();186187}188189190