org.apache.wml.dom

Class WMLImgElementImpl

Implemented Interfaces:
Element, TypeInfo, WMLElement, WMLImgElement

public class WMLImgElementImpl
extends WMLElementImpl
implements WMLImgElement

Version:
$Id: WMLImgElementImpl.java 447257 2006-09-18 05:40:07Z mrglavas $
Author:
David Li

Field Summary

Fields inherited from class org.apache.xerces.dom.ElementImpl

attributes, name

Fields inherited from class org.apache.xerces.dom.ParentNode

fNodeListCache, firstChild, ownerDocument

Constructor Summary

WMLImgElementImpl(WMLDocumentImpl owner, String tagName)

Method Summary

String
getAlign()
String
getAlt()
String
getClassName()
String
getHeight()
String
getHspace()
String
getId()
String
getLocalSrc()
String
getSrc()
String
getVspace()
String
getWidth()
String
getXmlLang()
void
setAlign(String newValue)
'align' specifies the alignment of the image within the text flow.
void
setAlt(String newValue)
'alt' specifies an alternative text for the image (Section 11.9, WAP WML Version 16-Jun-1999)
void
setClassName(String newValue)
The 'class' attribute of a element that affiliates an elements with one or more elements.
void
setHeight(String newValue)
'height' specifies the height of an image.
void
setHspace(String newValue)
'hspace' specifies the abount of white space to be inserted left and right (Section 11.9, WAP WML Version 16-Jun-1999)
void
setId(String newValue)
The element's identifier which is unique in a single deck.
void
setLocalSrc(String newValue)
'localsrc' specifies an alternative internal representation of the image.
void
setSrc(String newValue)
'src' specifies URI for the source images (Section 11.9, WAP WML Version 16-Jun-1999)
void
setVspace(String newValue)
'vspace' specifies the abount of white space to be inserted above and below (Section 11.9, WAP WML Version 16-Jun-1999)
void
setWidth(String newValue)
'width' specifies the width of an image.
void
setXmlLang(String newValue)
The xml:lang that specifics the natural or formal language in which the document is written.

Methods inherited from class org.apache.wml.dom.WMLElementImpl

getClassName, getId, getXmlLang, setClassName, setId, setXmlLang

Methods inherited from class org.apache.xerces.dom.ElementImpl

cloneNode, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getBaseURI, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setOwnerDocument, setReadOnly, setXercesAttributeNode, setupDefaultAttributes, synchronizeData

Methods inherited from class org.apache.xerces.dom.ParentNode

cloneNode, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, isEqualNode, item, normalize, removeChild, replaceChild, setOwnerDocument, setReadOnly, setTextContent, synchronizeChildren

Constructor Details

WMLImgElementImpl

public WMLImgElementImpl(WMLDocumentImpl owner,
                         String tagName)

Method Details

getAlign

public String getAlign()
Specified by:
getAlign in interface WMLImgElement

getAlt

public String getAlt()
Specified by:
getAlt in interface WMLImgElement

getClassName

public String getClassName()
Specified by:
getClassName in interface WMLElement
Overrides:
getClassName in interface WMLElementImpl

getHeight

public String getHeight()
Specified by:
getHeight in interface WMLImgElement

getHspace

public String getHspace()
Specified by:
getHspace in interface WMLImgElement

getId

public String getId()
Specified by:
getId in interface WMLElement
Overrides:
getId in interface WMLElementImpl

getLocalSrc

public String getLocalSrc()
Specified by:
getLocalSrc in interface WMLImgElement

getSrc

public String getSrc()
Specified by:
getSrc in interface WMLImgElement

getVspace

public String getVspace()
Specified by:
getVspace in interface WMLImgElement

getWidth

public String getWidth()
Specified by:
getWidth in interface WMLImgElement

getXmlLang

public String getXmlLang()
Specified by:
getXmlLang in interface WMLImgElement
Overrides:
getXmlLang in interface WMLElementImpl

setAlign

public void setAlign(String newValue)
'align' specifies the alignment of the image within the text flow. (Section 11.8, WAP WML Version 16-Jun-1999)
Specified by:
setAlign in interface WMLImgElement

setAlt

public void setAlt(String newValue)
'alt' specifies an alternative text for the image (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setAlt in interface WMLImgElement

setClassName

public void setClassName(String newValue)
The 'class' attribute of a element that affiliates an elements with one or more elements. (Section 8.9, WAP WML Version 16-Jun-1999)
Specified by:
setClassName in interface WMLElement
Overrides:
setClassName in interface WMLElementImpl

setHeight

public void setHeight(String newValue)
'height' specifies the height of an image. (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setHeight in interface WMLImgElement

setHspace

public void setHspace(String newValue)
'hspace' specifies the abount of white space to be inserted left and right (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setHspace in interface WMLImgElement

setId

public void setId(String newValue)
The element's identifier which is unique in a single deck. (Section 8.9, WAP WML Version 16-Jun-1999)
Specified by:
setId in interface WMLElement
Overrides:
setId in interface WMLElementImpl

setLocalSrc

public void setLocalSrc(String newValue)
'localsrc' specifies an alternative internal representation of the image. (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setLocalSrc in interface WMLImgElement

setSrc

public void setSrc(String newValue)
'src' specifies URI for the source images (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setSrc in interface WMLImgElement

setVspace

public void setVspace(String newValue)
'vspace' specifies the abount of white space to be inserted above and below (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setVspace in interface WMLImgElement

setWidth

public void setWidth(String newValue)
'width' specifies the width of an image. (Section 11.9, WAP WML Version 16-Jun-1999)
Specified by:
setWidth in interface WMLImgElement

setXmlLang

public void setXmlLang(String newValue)
The xml:lang that specifics the natural or formal language in which the document is written. (Section 8.8, WAP WML Version 16-Jun-1999)
Specified by:
setXmlLang in interface WMLImgElement
Overrides:
setXmlLang in interface WMLElementImpl

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.