Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/enhydra/wireless/wml/dom/WMLImgElement.java


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 Enhydra Application Server is Lutris
15   * Technologies, Inc. The Enhydra Application Server and portions created
16   * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17   * All Rights Reserved.
18   * 
19   * Contributor(s):
20   * 
21   * $Id: WMLImgElement.java,v 1.1.12.1 2000/10/19 17:59:10 jasona Exp $
22   */
23  
24  /**
25   * The interface is modeled after DOM1 Spec for HTML from W3C.
26   * The DTD used in this DOM model is from 
27   * http://www.wapforum.org/DTD/wml_1.1.xml
28   */
29  
30  package org.enhydra.wireless.wml.dom;
31  
32  /**
33   * 'img' specifies an image in a text flow
34   * (Section 11.9, WAP WML Version 16-Jun-1999)
35   */
36  public interface WMLImgElement extends WMLElement {
37  
38      /**
39       * 'alt' specifies an alternative text for the image
40       * (Section 11.9, WAP WML Version 16-Jun-1999)
41       */
42      public void setAlt(String newValue);
43      public String getAlt();
44  
45      /**
46       * 'src' specifies URI for the source images
47       * (Section 11.9, WAP WML Version 16-Jun-1999)
48       */
49      public void setSrc(String newValue);
50      public String getSrc();
51  
52      /**
53       * 'localsrc' specifies an alternative internal representation of
54       * the image.
55       * (Section 11.9, WAP WML Version 16-Jun-1999) 
56       */
57      public void setLocalSrc(String newValue);
58      public String getLocalSrc();
59  
60      /**
61       * 'vspace' specifies the abount of white space to be inserted
62       * above and below
63       * (Section 11.9, WAP WML Version 16-Jun-1999) 
64       */
65      public void setVspace(String newValue);
66      public String getVspace();
67  
68      /**
69       * 'hspace' specifies the abount of white space to be inserted
70       * left and right
71       * (Section 11.9, WAP WML Version 16-Jun-1999) 
72       */
73      public void setHspace(String newValue);
74      public String getHspace();
75  
76      /**
77       * 'align' specifies the alignment of the image within the text
78       * flow.
79       * (Section 11.8, WAP WML Version 16-Jun-1999)
80       */
81      public void setAlign(String newValue);
82      public String getAlign();
83  
84      /**
85       * 'width' specifies the width of an image.
86       * (Section 11.9, WAP WML Version 16-Jun-1999)
87       */
88      public void setWidth(String newValue);
89      public String getWidth();
90  
91      /**
92       * 'height' specifies the height of an image.
93       * (Section 11.9, WAP WML Version 16-Jun-1999)
94       */
95      public void setHeight(String newValue);
96      public String getHeight();
97  
98      /**
99       * The xml:lang that specifics the natural or formal language in
100      * which the document is written.
101      * (Section 8.8, WAP WML Version 16-Jun-1999)
102      */
103     public void setXmlLang(String newValue);
104     public String getXmlLang();
105 }