org.apache.wml

Interface WMLImgElement

All Superinterfaces:
org.w3c.dom.Element, org.w3c.dom.Node, WMLElement
Known Implementing Classes:
WMLImgElementImpl

public interface WMLImgElement
extends WMLElement

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)

Version:
$Id: WMLImgElement.java 319808 2004-02-24 23:34:05Z mrglavas $
Author:
David Li

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

Method Summary

String
getAlign()
String
getAlt()
String
getHeight()
String
getHspace()
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
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
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 interface org.w3c.dom.Element

getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode

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

Methods inherited from interface org.apache.wml.WMLElement

getClassName, getId, setClassName, setId

Method Details

getAlign

public String getAlign()

getAlt

public String getAlt()

getHeight

public String getHeight()

getHspace

public String getHspace()

getLocalSrc

public String getLocalSrc()

getSrc

public String getSrc()

getVspace

public String getVspace()

getWidth

public String getWidth()

getXmlLang

public String getXmlLang()

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)

setAlt

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

setHeight

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

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)

setLocalSrc

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

setSrc

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

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)

setWidth

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

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)

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