org.apache.wml

Interface WMLPElement

public interface WMLPElement 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

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

Version: $Id: WMLPElement.java,v 1.2 2004/02/24 23:34:05 mrglavas Exp $

Author: David Li

Method Summary
StringgetAlign()
StringgetMode()
StringgetXmlLang()
voidsetAlign(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)
voidsetMode(String newValue)
'mode' specifies the wrapping mode of the paragraph.
voidsetXmlLang(String newValue)
The xml:lang that specifics the natural or formal language in which the document is written.

Method Detail

getAlign

public String getAlign()

getMode

public String getMode()

getXmlLang

public String getXmlLang()

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)

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)

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