gnu.xml.dom.html2

Class DomHTMLObjectElement

Implemented Interfaces:
Cloneable, Comparable<T>, DocumentEvent, Element, EventTarget, HTMLElement, HTMLObjectElement, Node, NodeList

public class DomHTMLObjectElement
extends DomHTMLElement
implements HTMLObjectElement

An HTML 'OBJECT' element node.

Fields inherited from interface org.w3c.dom.Node

ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE

Constructor Summary

DomHTMLObjectElement(DomHTMLDocument owner, String namespaceURI, String name)

Method Summary

String
getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text.
String
getArchive()
Space-separated list of archives.
String
getBorder()
Width of border around the object.
String
getCode()
Applet class file.
String
getCodeBase()
Base URI [IETF RFC 2396] for classid, data, and archive attributes.
String
getCodeType()
Content type for data downloaded via classid attribute.
Document
getContentDocument()
The document this object contains, if there is any and it is available, or null otherwise.
String
getData()
A URI [IETF RFC 2396] specifying the location of the object's data.
boolean
getDeclare()
Declare (for future reference), but do not instantiate, this object.
HTMLFormElement
getForm()
Returns the FORM element containing this control.
String
getHeight()
Override height.
int
getHspace()
Horizontal space, in pixels, to the left and right of this image, applet, or object.
String
getJavaArchive()
String
getJavaCode()
String
getJavaCodeBase()
String
getJavaObject()
String
getJavaType()
String
getMayscript()
String
getName()
Form control or object name when submitted with a form.
String
getObject()
String
getScriptable()
String
getStandby()
Message to render while loading the object.
int
getTabIndex()
Index that represents the element's position in the tabbing order.
String
getType()
Content type for data downloaded via data attribute.
String
getUseMap()
Use client-side image map.
int
getVspace()
Vertical space, in pixels, above and below this image, applet, or object.
String
getWidth()
Override width.
void
setAlign(String align)
Aligns this object (vertically or horizontally) with respect to its surrounding text.
void
setArchive(String archive)
Space-separated list of archives.
void
setBorder(String border)
Width of border around the object.
void
setCode(String code)
Applet class file.
void
setCodeBase(String codeBase)
Base URI [IETF RFC 2396] for classid, data, and archive attributes.
void
setCodeType(String codeType)
Content type for data downloaded via classid attribute.
void
setData(String data)
A URI [IETF RFC 2396] specifying the location of the object's data.
void
setDeclare(boolean declare)
Declare (for future reference), but do not instantiate, this object.
void
setHeight(String height)
Override height.
void
setHspace(int hspace)
Horizontal space, in pixels, to the left and right of this image, applet, or object.
void
setJavaArchive(String archive)
void
setJavaCode(String code)
void
setJavaCodeBase(String codeBase)
void
setJavaObject(String obj)
void
setJavaType(String type)
void
setMayscript(String may)
void
setName(String name)
Form control or object name when submitted with a form.
void
setObject(String obj)
void
setScriptable(String scr)
void
setStandby(String standby)
Message to render while loading the object.
void
setTabIndex(int tabIndex)
Index that represents the element's position in the tabbing order.
void
setType(String type)
Content type for data downloaded via data attribute.
void
setUseMap(String useMap)
Use client-side image map.
void
setVspace(int vspace)
Vertical space, in pixels, above and below this image, applet, or object.
void
setWidth(String width)
Override width.

Methods inherited from class gnu.xml.dom.html2.DomHTMLElement

dispatchUIEvent, getBooleanHTMLAttribute, getChildElement, getClassName, getDir, getHTMLAttribute, getId, getIndex, getIntHTMLAttribute, getLang, getParentElement, getTitle, setBooleanHTMLAttribute, setClassName, setDir, setHTMLAttribute, setId, setIntHTMLAttribute, setLang, setTitle

Methods inherited from class gnu.xml.dom.DomElement

clone, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getBaseURI, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDefaultNamespace, isEqualNode, lookupNamespaceURI, lookupPrefix, makeReadonly, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode

Methods inherited from class gnu.xml.dom.DomNsNode

getLocalName, getNamespaceURI, getNodeName, getPrefix, setPrefix

Methods inherited from class gnu.xml.dom.DomNode

addEventListener, appendChild, clone, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isReadonly, isSameNode, isSupported, item, list, lookupNamespaceURI, lookupPrefix, makeReadonly, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString, trimToSize

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

DomHTMLObjectElement

protected DomHTMLObjectElement(DomHTMLDocument owner,
                               String namespaceURI,
                               String name)

Method Details

getAlign

public String getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getAlign in interface HTMLObjectElement

getArchive

public String getArchive()
Space-separated list of archives. See the archive attribute definition in HTML 4.01.
Specified by:
getArchive in interface HTMLObjectElement

getBorder

public String getBorder()
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getBorder in interface HTMLObjectElement

getCode

public String getCode()
Applet class file. See the code attribute for HTMLAppletElement.
Specified by:
getCode in interface HTMLObjectElement

getCodeBase

public String getCodeBase()
Base URI [IETF RFC 2396] for classid, data, and archive attributes. See the codebase attribute definition in HTML 4.01.
Specified by:
getCodeBase in interface HTMLObjectElement

getCodeType

public String getCodeType()
Content type for data downloaded via classid attribute. See the codetype attribute definition in HTML 4.01.
Specified by:
getCodeType in interface HTMLObjectElement

getContentDocument

public Document getContentDocument()
The document this object contains, if there is any and it is available, or null otherwise.
Specified by:
getContentDocument in interface HTMLObjectElement
Since:
DOM Level 2

getData

public String getData()
A URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.
Specified by:
getData in interface HTMLObjectElement

getDeclare

public boolean getDeclare()
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.
Specified by:
getDeclare in interface HTMLObjectElement

getForm

public HTMLFormElement getForm()
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.
Specified by:
getForm in interface HTMLObjectElement

getHeight

public String getHeight()
Override height. See the height attribute definition in HTML 4.01.
Specified by:
getHeight in interface HTMLObjectElement

getHspace

public int getHspace()
Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getHspace in interface HTMLObjectElement

getJavaArchive

public String getJavaArchive()

getJavaCode

public String getJavaCode()

getJavaCodeBase

public String getJavaCodeBase()

getJavaObject

public String getJavaObject()

getJavaType

public String getJavaType()

getMayscript

public String getMayscript()

getName

public String getName()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
Specified by:
getName in interface HTMLObjectElement

getObject

public String getObject()

getScriptable

public String getScriptable()

getStandby

public String getStandby()
Message to render while loading the object. See the standby attribute definition in HTML 4.01.
Specified by:
getStandby in interface HTMLObjectElement

getTabIndex

public int getTabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
Specified by:
getTabIndex in interface HTMLObjectElement

getType

public String getType()
Content type for data downloaded via data attribute. See the type attribute definition in HTML 4.01.
Specified by:
getType in interface HTMLObjectElement

getUseMap

public String getUseMap()
Use client-side image map. See the usemap attribute definition in HTML 4.01.
Specified by:
getUseMap in interface HTMLObjectElement

getVspace

public int getVspace()
Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
getVspace in interface HTMLObjectElement

getWidth

public String getWidth()
Override width. See the width attribute definition in HTML 4.01.
Specified by:
getWidth in interface HTMLObjectElement

setAlign

public void setAlign(String align)
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setAlign in interface HTMLObjectElement

setArchive

public void setArchive(String archive)
Space-separated list of archives. See the archive attribute definition in HTML 4.01.
Specified by:
setArchive in interface HTMLObjectElement

setBorder

public void setBorder(String border)
Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setBorder in interface HTMLObjectElement

setCode

public void setCode(String code)
Applet class file. See the code attribute for HTMLAppletElement.
Specified by:
setCode in interface HTMLObjectElement

setCodeBase

public void setCodeBase(String codeBase)
Base URI [IETF RFC 2396] for classid, data, and archive attributes. See the codebase attribute definition in HTML 4.01.
Specified by:
setCodeBase in interface HTMLObjectElement

setCodeType

public void setCodeType(String codeType)
Content type for data downloaded via classid attribute. See the codetype attribute definition in HTML 4.01.
Specified by:
setCodeType in interface HTMLObjectElement

setData

public void setData(String data)
A URI [IETF RFC 2396] specifying the location of the object's data. See the data attribute definition in HTML 4.01.
Specified by:
setData in interface HTMLObjectElement

setDeclare

public void setDeclare(boolean declare)
Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.
Specified by:
setDeclare in interface HTMLObjectElement

setHeight

public void setHeight(String height)
Override height. See the height attribute definition in HTML 4.01.
Specified by:
setHeight in interface HTMLObjectElement

setHspace

public void setHspace(int hspace)
Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setHspace in interface HTMLObjectElement

setJavaArchive

public void setJavaArchive(String archive)

setJavaCode

public void setJavaCode(String code)

setJavaCodeBase

public void setJavaCodeBase(String codeBase)

setJavaObject

public void setJavaObject(String obj)

setJavaType

public void setJavaType(String type)

setMayscript

public void setMayscript(String may)

setName

public void setName(String name)
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
Specified by:
setName in interface HTMLObjectElement

setObject

public void setObject(String obj)

setScriptable

public void setScriptable(String scr)

setStandby

public void setStandby(String standby)
Message to render while loading the object. See the standby attribute definition in HTML 4.01.
Specified by:
setStandby in interface HTMLObjectElement

setTabIndex

public void setTabIndex(int tabIndex)
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
Specified by:
setTabIndex in interface HTMLObjectElement

setType

public void setType(String type)
Content type for data downloaded via data attribute. See the type attribute definition in HTML 4.01.
Specified by:
setType in interface HTMLObjectElement

setUseMap

public void setUseMap(String useMap)
Use client-side image map. See the usemap attribute definition in HTML 4.01.
Specified by:
setUseMap in interface HTMLObjectElement

setVspace

public void setVspace(int vspace)
Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
Specified by:
setVspace in interface HTMLObjectElement

setWidth

public void setWidth(String width)
Override width. See the width attribute definition in HTML 4.01.
Specified by:
setWidth in interface HTMLObjectElement

DomHTMLObjectElement.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.