org.apache.html.dom
Class HTMLImageElementImpl

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.html.dom.HTMLElementImpl
                      extended by org.apache.html.dom.HTMLImageElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Element, EventTarget, HTMLElement, HTMLImageElement, Node, NodeList, TypeInfo

public class HTMLImageElementImpl
extends HTMLElementImpl
implements HTMLImageElement

Version:
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
Author:
Assaf Arkin
See Also:
HTMLImageElement, ElementImpl, Serialized Form

Field Summary
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
HTMLImageElementImpl(HTMLDocumentImpl owner, java.lang.String name)
          Constructor requires owner document.
 
Method Summary
 java.lang.String getAlign()
          Aligns this object (vertically or horizontally) with respect to its surrounding text.
 java.lang.String getAlt()
          Alternate text for user agents not rendering the normal contentof this element.
 java.lang.String getBorder()
          Width of border around image.
 java.lang.String getHeight()
          Override height.
 java.lang.String getHspace()
          Horizontal space to the left and right of this image.
 boolean getIsMap()
          Use server-side image map.
 java.lang.String getLongDesc()
          URI designating a long description of this image or frame.
 java.lang.String getLowSrc()
          URI designating the source of this image, for low-resolution output.
 java.lang.String getName()
          The name of the element (for backwards compatibility).
 java.lang.String getSrc()
          URI designating the source of this image.
 java.lang.String getUseMap()
          Use client-side image map.
 java.lang.String getVspace()
          Vertical space above and below this image.
 java.lang.String getWidth()
          Override width.
 void setAlign(java.lang.String align)
           
 void setAlt(java.lang.String alt)
           
 void setBorder(java.lang.String border)
           
 void setHeight(java.lang.String height)
           
 void setHspace(java.lang.String hspace)
           
 void setIsMap(boolean isMap)
           
 void setLongDesc(java.lang.String longDesc)
           
 void setLowSrc(java.lang.String lowSrc)
           
 void setName(java.lang.String name)
           
 void setSrc(java.lang.String src)
           
 void setUseMap(java.lang.String useMap)
           
 void setVspace(java.lang.String vspace)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class org.apache.html.dom.HTMLElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttributes, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

HTMLImageElementImpl

public HTMLImageElementImpl(HTMLDocumentImpl owner,
                            java.lang.String name)
Constructor requires owner document.

Parameters:
owner - The owner HTML document
Method Detail

getLowSrc

public java.lang.String getLowSrc()
Description copied from interface: HTMLImageElement
URI designating the source of this image, for low-resolution output.

Specified by:
getLowSrc in interface HTMLImageElement

setLowSrc

public void setLowSrc(java.lang.String lowSrc)
Specified by:
setLowSrc in interface HTMLImageElement

getSrc

public java.lang.String getSrc()
Description copied from interface: HTMLImageElement
URI designating the source of this image. See the src attribute definition in HTML 4.0.

Specified by:
getSrc in interface HTMLImageElement

setSrc

public void setSrc(java.lang.String src)
Specified by:
setSrc in interface HTMLImageElement

getName

public java.lang.String getName()
Description copied from interface: HTMLImageElement
The name of the element (for backwards compatibility).

Specified by:
getName in interface HTMLImageElement

setName

public void setName(java.lang.String name)
Specified by:
setName in interface HTMLImageElement

getAlign

public java.lang.String getAlign()
Description copied from interface: HTMLImageElement
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getAlign in interface HTMLImageElement

setAlign

public void setAlign(java.lang.String align)
Specified by:
setAlign in interface HTMLImageElement

getAlt

public java.lang.String getAlt()
Description copied from interface: HTMLImageElement
Alternate text for user agents not rendering the normal contentof this element. See the alt attribute definition in HTML 4.0.

Specified by:
getAlt in interface HTMLImageElement

setAlt

public void setAlt(java.lang.String alt)
Specified by:
setAlt in interface HTMLImageElement

getBorder

public java.lang.String getBorder()
Description copied from interface: HTMLImageElement
Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getBorder in interface HTMLImageElement

setBorder

public void setBorder(java.lang.String border)
Specified by:
setBorder in interface HTMLImageElement

getHeight

public java.lang.String getHeight()
Description copied from interface: HTMLImageElement
Override height. See the height attribute definition in HTML 4.0.

Specified by:
getHeight in interface HTMLImageElement

setHeight

public void setHeight(java.lang.String height)
Specified by:
setHeight in interface HTMLImageElement

getHspace

public java.lang.String getHspace()
Description copied from interface: HTMLImageElement
Horizontal space to the left and right of this image. See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getHspace in interface HTMLImageElement

setHspace

public void setHspace(java.lang.String hspace)
Specified by:
setHspace in interface HTMLImageElement

getIsMap

public boolean getIsMap()
Description copied from interface: HTMLImageElement
Use server-side image map. See the ismap attribute definition in HTML 4.0.

Specified by:
getIsMap in interface HTMLImageElement

setIsMap

public void setIsMap(boolean isMap)
Specified by:
setIsMap in interface HTMLImageElement

getLongDesc

public java.lang.String getLongDesc()
Description copied from interface: HTMLImageElement
URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

Specified by:
getLongDesc in interface HTMLImageElement

setLongDesc

public void setLongDesc(java.lang.String longDesc)
Specified by:
setLongDesc in interface HTMLImageElement

getUseMap

public java.lang.String getUseMap()
Description copied from interface: HTMLImageElement
Use client-side image map. See the usemap attribute definition in HTML 4.0.

Specified by:
getUseMap in interface HTMLImageElement

setUseMap

public void setUseMap(java.lang.String useMap)
Specified by:
setUseMap in interface HTMLImageElement

getVspace

public java.lang.String getVspace()
Description copied from interface: HTMLImageElement
Vertical space above and below this image. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getVspace in interface HTMLImageElement

setVspace

public void setVspace(java.lang.String vspace)
Specified by:
setVspace in interface HTMLImageElement

getWidth

public java.lang.String getWidth()
Description copied from interface: HTMLImageElement
Override width. See the width attribute definition in HTML 4.0.

Specified by:
getWidth in interface HTMLImageElement

setWidth

public void setWidth(java.lang.String width)
Specified by:
setWidth in interface HTMLImageElement