Source code: org/enhydra/wireless/wml/dom/WMLCardElement.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: WMLCardElement.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 * 'card' element is the basic display unit of WML. A WML decks
34 * contains a collection of cards.
35 * (Section 11.5, WAP WML Version 16-Jun-1999)
36 */
37 public interface WMLCardElement extends WMLElement {
38
39 /**
40 * 'onenterbackward' specifies the event to occur when a user
41 * agent into a card using a 'go' task
42 * (Section 11.5.1, WAP WML Version 16-Jun-1999)
43 */
44 public void setOnEnterBackward(String href);
45 public String getOnEnterBackward();
46
47 /**
48 * 'onenterforward' specifies the event to occur when a user
49 * agent into a card using a 'prev' task
50 * (Section 11.5.1, WAP WML Version 16-Jun-1999)
51 */
52 public void setOnEnterForward(String href);
53 public String getOnEnterForward();
54
55 /**
56 * 'onenterbackward' specifies the event to occur when a timer expires
57 * (Section 11.5.1, WAP WML Version 16-Jun-1999)
58 */
59 public void setOnTimer(String href);
60 public String getOnTimer();
61
62 /**
63 * 'title' specifies a advisory info about the card
64 * (Section 11.5.2, WAP WML Version 16-Jun-1999)
65 */
66 public void setTitle(String newValue);
67 public String getTitle();
68
69 /**
70 * 'newcontext' specifies whether a browser context should be
71 * re-initialized upon entering the card. Default to be false.
72 * (Section 11.5.2, WAP WML Version 16-Jun-1999)
73 */
74 public void setNewContext(boolean newValue);
75 public boolean getNewContext();
76
77 /**
78 * 'ordered' attribute specifies a hit to user agent about the
79 * organization of the card's content
80 * (Section 11.5.2, WAP WML Version 16-Jun-1999)
81 */
82 public void setOrdered(boolean newValue);
83 public boolean getOrdered();
84
85 /**
86 * 'xml:lang' specifics the natural or formal language in which
87 * the document is written.
88 * (Section 8.8, WAP WML Version 16-Jun-1999)
89 */
90 public void setXmlLang(String newValue);
91 public String getXmlLang();
92 }