2
* Licensed to the Apache Software Foundation (ASF) under one or more
3
* contributor license agreements. See the NOTICE file distributed with
4
* this work for additional information regarding copyright ownership.
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
* (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
9
* http://www.apache.org/licenses/LICENSE-2.0
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
17
package org.apache.wml;
20
* <p>The interface is modeled after DOM1 Spec for HTML from W3C.
21
* The DTD used in this DOM model is from
22
* <a href="http://www.wapforum.org/DTD/wml_1.1.xml">
23
* http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
25
* <p>'img' specifies an image in a text flow
26
* (Section 11.9, WAP WML Version 16-Jun-1999)</p>
28
* @version $Id: WMLImgElement.java,v 1.2 2009/12/10 03:18:40 matthewoliver Exp $
29
* @author <a href="mailto:david@topware.com.tw">David Li</a>
31
public interface WMLImgElement extends WMLElement {
34
* 'alt' specifies an alternative text for the image
35
* (Section 11.9, WAP WML Version 16-Jun-1999)
37
public void setAlt(String newValue);
38
public String getAlt();
41
* 'src' specifies URI for the source images
42
* (Section 11.9, WAP WML Version 16-Jun-1999)
44
public void setSrc(String newValue);
45
public String getSrc();
48
* 'localsrc' specifies an alternative internal representation of
50
* (Section 11.9, WAP WML Version 16-Jun-1999)
52
public void setLocalSrc(String newValue);
53
public String getLocalSrc();
56
* 'vspace' specifies the abount of white space to be inserted
58
* (Section 11.9, WAP WML Version 16-Jun-1999)
60
public void setVspace(String newValue);
61
public String getVspace();
64
* 'hspace' specifies the abount of white space to be inserted
66
* (Section 11.9, WAP WML Version 16-Jun-1999)
68
public void setHspace(String newValue);
69
public String getHspace();
72
* 'align' specifies the alignment of the image within the text
74
* (Section 11.8, WAP WML Version 16-Jun-1999)
76
public void setAlign(String newValue);
77
public String getAlign();
80
* 'width' specifies the width of an image.
81
* (Section 11.9, WAP WML Version 16-Jun-1999)
83
public void setWidth(String newValue);
84
public String getWidth();
87
* 'height' specifies the height of an image.
88
* (Section 11.9, WAP WML Version 16-Jun-1999)
90
public void setHeight(String newValue);
91
public String getHeight();
94
* The xml:lang that specifics the natural or formal language in
95
* which the document is written.
96
* (Section 8.8, WAP WML Version 16-Jun-1999)
98
public void setXmlLang(String newValue);
99
public String getXmlLang();