org.apache.wml

Interface WMLPElement

All Superinterfaces:
Element, WMLElement
Known Implementing Classes:
WMLPElementImpl

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 447258 2006-09-18 05:41:23Z mrglavas $
Author:
David Li

Method Summary

String
getAlign()
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
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 interface org.apache.wml.WMLElement

getClassName, getId, setClassName, setId

Method Details

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-2006 The Apache Software Foundation. All Rights Reserved.