org.apache.wml

Interface WMLPElement

All Superinterfaces:
org.w3c.dom.Element, org.w3c.dom.Node, 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,v 1.1 2000/04/23 18:07:44 david Exp $

Author:
David Li

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

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.w3c.dom.Element

getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS

Methods inherited from interface org.w3c.dom.Node

appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix

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