org.apache.wml.dom

Class WMLImgElementImpl

Implemented Interfaces:
Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, Serializable, TypeInfo, org.w3c.dom.NodeList, WMLElement, WMLImgElement

public class WMLImgElementImpl
extends WMLElementImpl
implements WMLImgElement

Version:
$Id: WMLImgElementImpl.java,v 1.1 2000/04/23 18:07:47 david Exp $

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

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

nextSibling, previousSibling

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, FIRSTCHILD, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, flags, ownerNode

Fields inherited from interface org.w3c.dom.Node

ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE

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, 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, setReadOnly, setTextContent, synchronizeChildren

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

cloneNode, getNextSibling, getParentNode, getPreviousSibling

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

addEventListener, appendChild, changed, changes, cloneNode, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getContainer, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNumber, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setReadOnly, setTextContent, setUserData, setUserData, synchronizeData, toString

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-2004 Apache XML Project. All Rights Reserved.