org.apache.taglibs.rdc
Class SelectOne.Options

java.lang.Object
  extended byorg.apache.taglibs.rdc.SelectOne.Options
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SelectOne

public static class SelectOne.Options
extends java.lang.Object
implements java.io.Serializable

Encapsulates a set of options. Each option should include an utterance, and an optional value.

See Also:
Serialized Form

Constructor Summary
SelectOne.Options()
          Constructor
 
Method Summary
 void add(java.lang.String option_value, java.lang.String option_utterance)
          Add this option to the list.
 java.lang.String getVXMLOptionsMarkup()
          Generate the markup of the vxml <option> elements as a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectOne.Options

public SelectOne.Options()
Constructor

Method Detail

add

public void add(java.lang.String option_value,
                java.lang.String option_utterance)
Add this option to the list. Option contains an utterance and an optional value.


getVXMLOptionsMarkup

public java.lang.String getVXMLOptionsMarkup()
Generate the markup of the vxml <option> elements as a String

Returns:
String the VXML markup


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.