org.apache.wml

Interface WMLCardElement

All Superinterfaces:
Element, WMLElement
Known Implementing Classes:
WMLCardElementImpl

public interface WMLCardElement
extends WMLElement

The interface is modeled after DOM1 Spec for HTML from W3C. The DTD used in this DOM model is from http://www.wapforum.org/DTD/wml_1.1.xml

'card' element is the basic display unit of WML. A WML decks contains a collection of cards. (Section 11.5, WAP WML Version 16-Jun-1999)

Version:
$Id: WMLCardElement.java,v 1.2 2004/02/24 23:34:05 mrglavas Exp $
Author:
David Li

Method Summary

boolean
getNewContext()
String
getOnEnterBackward()
String
getOnEnterForward()
String
getOnTimer()
boolean
getOrdered()
String
getTitle()
String
getXmlLang()
void
setNewContext(boolean newValue)
'newcontext' specifies whether a browser context should be re-initialized upon entering the card.
void
setOnEnterBackward(String href)
'onenterbackward' specifies the event to occur when a user agent into a card using a 'go' task (Section 11.5.1, WAP WML Version 16-Jun-1999)
void
setOnEnterForward(String href)
'onenterforward' specifies the event to occur when a user agent into a card using a 'prev' task (Section 11.5.1, WAP WML Version 16-Jun-1999)
void
setOnTimer(String href)
'onenterbackward' specifies the event to occur when a timer expires (Section 11.5.1, WAP WML Version 16-Jun-1999)
void
setOrdered(boolean newValue)
'ordered' attribute specifies a hit to user agent about the organization of the card's content (Section 11.5.2, WAP WML Version 16-Jun-1999)
void
setTitle(String newValue)
'title' specifies a advisory info about the card (Section 11.5.2, WAP WML Version 16-Jun-1999)
void
setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written.

Methods inherited from interface org.apache.wml.WMLElement

getClassName, getId, setClassName, setId

Method Details

getNewContext

public boolean getNewContext()

getOnEnterBackward

public String getOnEnterBackward()

getOnEnterForward

public String getOnEnterForward()

getOnTimer

public String getOnTimer()

getOrdered

public boolean getOrdered()

getTitle

public String getTitle()

getXmlLang

public String getXmlLang()

setNewContext

public void setNewContext(boolean newValue)
'newcontext' specifies whether a browser context should be re-initialized upon entering the card. Default to be false. (Section 11.5.2, WAP WML Version 16-Jun-1999)

setOnEnterBackward

public void setOnEnterBackward(String href)
'onenterbackward' specifies the event to occur when a user agent into a card using a 'go' task (Section 11.5.1, WAP WML Version 16-Jun-1999)

setOnEnterForward

public void setOnEnterForward(String href)
'onenterforward' specifies the event to occur when a user agent into a card using a 'prev' task (Section 11.5.1, WAP WML Version 16-Jun-1999)

setOnTimer

public void setOnTimer(String href)
'onenterbackward' specifies the event to occur when a timer expires (Section 11.5.1, WAP WML Version 16-Jun-1999)

setOrdered

public void setOrdered(boolean newValue)
'ordered' attribute specifies a hit to user agent about the organization of the card's content (Section 11.5.2, WAP WML Version 16-Jun-1999)

setTitle

public void setTitle(String newValue)
'title' specifies a advisory info about the card (Section 11.5.2, WAP WML Version 16-Jun-1999)

setXmlLang

public void setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written. (Section 8.8, WAP WML Version 16-Jun-1999)

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.