Top Description Methods
org.apache.wml

public Interface WMLPElement

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

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

'p' element specifies a paragraph (Section 11.8.3, WAP WML Version 16-Jun-1999)

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

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
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)

public void
setMode(String newValue)

'mode' specifies the wrapping mode of the paragraph.

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()
getModeback to summary
public String getMode()
getXmlLangback to summary
public String getXmlLang()
setAlignback to summary
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)

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

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)