org.apache.wml.dom

Class WMLPElementImpl

Implemented Interfaces:
Element, TypeInfo, WMLElement, WMLPElement

public class WMLPElementImpl
extends WMLElementImpl
implements WMLPElement

Version:
$Id: WMLPElementImpl.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

WMLPElementImpl(WMLDocumentImpl owner, String tagName)

Method Summary

String
getAlign()
String
getClassName()
String
getId()
String
getMode()
String
getXmlLang()
void
setAlign(String newValue)
'align' specifies the align of teh paragraph The legal values are 'left,' 'center,' and 'right' (Section 11.8.3, 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
setId(String newValue)
The element's identifier which is unique in a single deck.
void
setMode(String newValue)
'mode' specifies the wrapping mode of the paragraph.
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

WMLPElementImpl

public WMLPElementImpl(WMLDocumentImpl owner,
                       String tagName)

Method Details

getAlign

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

getClassName

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

getId

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

getMode

public String getMode()
Specified by:
getMode in interface WMLPElement

getXmlLang

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

setAlign

public void setAlign(String newValue)
'align' specifies the align of teh paragraph The legal values are 'left,' 'center,' and 'right' (Section 11.8.3, WAP WML Version 16-Jun-1999)
Specified by:
setAlign in interface WMLPElement

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

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

setMode

public void setMode(String newValue)
'mode' specifies the wrapping mode of the paragraph. The legal values are 'wrap' and 'nowrap' (Section 11.8.3, WAP WML Version 16-Jun-1999)
Specified by:
setMode in interface WMLPElement

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 WMLPElement
Overrides:
setXmlLang in interface WMLElementImpl

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