Top Description Methods
org.apache.wml

public Interface WMLImgElement

extends WMLElement
Known Direct Implementers
org.apache.wml.dom.WMLImgElementImpl

The interface is modeled after DOM1 Spec for HTML from W3C. The DTD used in this DOM model is from http://www.wapforum.org/DTD/wml_1.1.xml

'img' specifies an image in a text flow (Section 11.9, WAP WML Version 16-Jun-1999)

Author
David Li
Version
$Id: WMLImgElement.java 447258 2006-09-18 05:41:23Z mrglavas $

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
public String
public String
public String
public String
public String
public void
setAlign(String newValue)

'align' specifies the alignment of the image within the text flow.

public void
setAlt(String newValue)

'alt' specifies an alternative text for the image (Section 11.9, WAP WML Version 16-Jun-1999)

public void
setHeight(String newValue)

'height' specifies the height of an image.

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)

public void
setLocalSrc(String newValue)

'localsrc' specifies an alternative internal representation of the image.

public void
setSrc(String newValue)

'src' specifies URI for the source images (Section 11.9, WAP WML Version 16-Jun-1999)

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)

public void
setWidth(String newValue)

'width' specifies the width of an image.

public void
setXmlLang(String newValue)

The xml:lang that specifics the natural or formal language in which the document is written.

Inherited from org.apache.wml.WMLElement:
getClassNamegetIdsetClassNamesetId

Method Detail

getAlignback to summary
public String getAlign()
getAltback to summary
public String getAlt()
getHeightback to summary
public String getHeight()
getHspaceback to summary
public String getHspace()
getLocalSrcback to summary
public String getLocalSrc()
getSrcback to summary
public String getSrc()
getVspaceback to summary
public String getVspace()
getWidthback to summary
public String getWidth()
getXmlLangback to summary
public String getXmlLang()
setAlignback to summary
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)

setAltback to summary
public void setAlt(String newValue)

'alt' specifies an alternative text for the image (Section 11.9, WAP WML Version 16-Jun-1999)

setHeightback to summary
public void setHeight(String newValue)

'height' specifies the height of an image. (Section 11.9, WAP WML Version 16-Jun-1999)

setHspaceback to summary
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)

setLocalSrcback to summary
public void setLocalSrc(String newValue)

'localsrc' specifies an alternative internal representation of the image. (Section 11.9, WAP WML Version 16-Jun-1999)

setSrcback to summary
public void setSrc(String newValue)

'src' specifies URI for the source images (Section 11.9, WAP WML Version 16-Jun-1999)

setVspaceback to summary
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)

setWidthback to summary
public void setWidth(String newValue)

'width' specifies the width of an image. (Section 11.9, WAP WML Version 16-Jun-1999)

setXmlLangback to summary
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)