KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > wml > dom > WMLPElement


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Original Code is DigitalSesame
15  * Portions created by DigitalSesame are Copyright (C) 1997-2000 DigitalSesame
16  * All Rights Reserved.
17  *
18  * Contributor(s):
19  *
20  * $Id: WMLPElement.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22
23 /**
24  * The interface is modeled after DOM1 Spec for HTML from W3C.
25  * The DTD used in this DOM model is from
26  * http://www.wapforum.org/DTD/wml_1.1.xml
27  */

28
29 package org.enhydra.wireless.wml.dom;
30
31 /**
32  * 'p' element specifies a paragraph
33  * (Section 11.8.3, WAP WML Version 16-Jun-1999)
34  */

35 public interface WMLPElement extends WMLElement {
36
37     /**
38      * 'mode' specifies the wrapping mode of the paragraph.
39      * The legal values are 'wrap' and 'nowrap'
40      * (Section 11.8.3, WAP WML Version 16-Jun-1999)
41      */

42     public void setMode(String JavaDoc newValue);
43     public String JavaDoc getMode();
44
45     /**
46      * 'align' specifies the align of teh paragraph
47      * The legal values are 'left,' 'center,' and 'right'
48      * (Section 11.8.3, WAP WML Version 16-Jun-1999)
49      */

50     public void setAlign(String JavaDoc newValue);
51     public String JavaDoc getAlign();
52
53     /**
54      * The xml:lang that specifics the natural or formal language in
55      * which the document is written.
56      * (Section 8.8, WAP WML Version 16-Jun-1999)
57      */

58     public void setXmlLang(String JavaDoc newValue);
59     public String JavaDoc getXmlLang();
60 }
61
Popular Tags