KickJava   Java API By Example, From Geeks To Geeks.

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


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: WMLImgElement.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  * 'img' specifies an image in a text flow
33  * (Section 11.9, WAP WML Version 16-Jun-1999)
34  */

35 public interface WMLImgElement extends WMLElement {
36
37     /**
38      * 'alt' specifies an alternative text for the image
39      * (Section 11.9, WAP WML Version 16-Jun-1999)
40      */

41     public void setAlt(String JavaDoc newValue);
42     public String JavaDoc getAlt();
43
44     /**
45      * 'src' specifies URI for the source images
46      * (Section 11.9, WAP WML Version 16-Jun-1999)
47      */

48     public void setSrc(String JavaDoc newValue);
49     public String JavaDoc getSrc();
50
51     /**
52      * 'localsrc' specifies an alternative internal representation of
53      * the image.
54      * (Section 11.9, WAP WML Version 16-Jun-1999)
55      */

56     public void setLocalSrc(String JavaDoc newValue);
57     public String JavaDoc getLocalSrc();
58
59     /**
60      * 'vspace' specifies the abount of white space to be inserted
61      * above and below
62      * (Section 11.9, WAP WML Version 16-Jun-1999)
63      */

64     public void setVspace(String JavaDoc newValue);
65     public String JavaDoc getVspace();
66
67     /**
68      * 'hspace' specifies the abount of white space to be inserted
69      * left and right
70      * (Section 11.9, WAP WML Version 16-Jun-1999)
71      */

72     public void setHspace(String JavaDoc newValue);
73     public String JavaDoc getHspace();
74
75     /**
76      * 'align' specifies the alignment of the image within the text
77      * flow.
78      * (Section 11.8, WAP WML Version 16-Jun-1999)
79      */

80     public void setAlign(String JavaDoc newValue);
81     public String JavaDoc getAlign();
82
83     /**
84      * 'width' specifies the width of an image.
85      * (Section 11.9, WAP WML Version 16-Jun-1999)
86      */

87     public void setWidth(String JavaDoc newValue);
88     public String JavaDoc getWidth();
89
90     /**
91      * 'height' specifies the height of an image.
92      * (Section 11.9, WAP WML Version 16-Jun-1999)
93      */

94     public void setHeight(String JavaDoc newValue);
95     public String JavaDoc getHeight();
96
97     /**
98      * The xml:lang that specifics the natural or formal language in
99      * which the document is written.
100      * (Section 8.8, WAP WML Version 16-Jun-1999)
101      */

102     public void setXmlLang(String JavaDoc newValue);
103     public String JavaDoc getXmlLang();
104 }
105
Popular Tags