~vcs-imports/xena/trunk

« back to all changes in this revision

Viewing changes to ext/src/xerces-2_9_1/src/org/apache/wml/WMLImgElement.java

  • Committer: matthewoliver
  • Date: 2009-12-10 03:18:07 UTC
  • Revision ID: vcs-imports@canonical.com-20091210031807-l086qguzdlljtkl9
Merged Xena Testing into Xena Stable for the Xena 5 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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
 
8
 * 
 
9
 *      http://www.apache.org/licenses/LICENSE-2.0
 
10
 * 
 
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.
 
16
 */
 
17
package org.apache.wml;
 
18
 
 
19
/**
 
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>
 
24
 *
 
25
 * <p>'img' specifies an image in a text flow
 
26
 * (Section 11.9, WAP WML Version 16-Jun-1999)</p>
 
27
 *
 
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>
 
30
 */
 
31
public interface WMLImgElement extends WMLElement {
 
32
 
 
33
    /**
 
34
     * 'alt' specifies an alternative text for the image
 
35
     * (Section 11.9, WAP WML Version 16-Jun-1999)
 
36
     */
 
37
    public void setAlt(String newValue);
 
38
    public String getAlt();
 
39
 
 
40
    /**
 
41
     * 'src' specifies URI for the source images
 
42
     * (Section 11.9, WAP WML Version 16-Jun-1999)
 
43
     */
 
44
    public void setSrc(String newValue);
 
45
    public String getSrc();
 
46
 
 
47
    /**
 
48
     * 'localsrc' specifies an alternative internal representation of
 
49
     * the image.
 
50
     * (Section 11.9, WAP WML Version 16-Jun-1999) 
 
51
     */
 
52
    public void setLocalSrc(String newValue);
 
53
    public String getLocalSrc();
 
54
 
 
55
    /**
 
56
     * 'vspace' specifies the abount of white space to be inserted
 
57
     * above and below
 
58
     * (Section 11.9, WAP WML Version 16-Jun-1999) 
 
59
     */
 
60
    public void setVspace(String newValue);
 
61
    public String getVspace();
 
62
 
 
63
    /**
 
64
     * 'hspace' specifies the abount of white space to be inserted
 
65
     * left and right
 
66
     * (Section 11.9, WAP WML Version 16-Jun-1999) 
 
67
     */
 
68
    public void setHspace(String newValue);
 
69
    public String getHspace();
 
70
 
 
71
    /**
 
72
     * 'align' specifies the alignment of the image within the text
 
73
     * flow.
 
74
     * (Section 11.8, WAP WML Version 16-Jun-1999)
 
75
     */
 
76
    public void setAlign(String newValue);
 
77
    public String getAlign();
 
78
 
 
79
    /**
 
80
     * 'width' specifies the width of an image.
 
81
     * (Section 11.9, WAP WML Version 16-Jun-1999)
 
82
     */
 
83
    public void setWidth(String newValue);
 
84
    public String getWidth();
 
85
 
 
86
    /**
 
87
     * 'height' specifies the height of an image.
 
88
     * (Section 11.9, WAP WML Version 16-Jun-1999)
 
89
     */
 
90
    public void setHeight(String newValue);
 
91
    public String getHeight();
 
92
 
 
93
    /**
 
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)
 
97
     */
 
98
    public void setXmlLang(String newValue);
 
99
    public String getXmlLang();
 
100
}