|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.rdc.SelectOne.Options
public static class SelectOne.Options
Encapsulates a set of options. Each option should include an utterance, and an optional value.
Field Summary | |
---|---|
static java.lang.String |
ACCEPT_APPROX
|
static java.lang.String |
ACCEPT_EXACT
|
Constructor Summary | |
---|---|
SelectOne.Options()
Constructor |
Method Summary | |
---|---|
void |
add(java.lang.String option_utterance)
Add this option to the list. |
void |
add(java.lang.String option_utterance,
boolean option_approximate)
Add this option to the list. |
void |
add(java.lang.String option_value,
java.lang.String option_utterance)
Add this option to the list. |
void |
add(java.lang.String option_value,
java.lang.String option_utterance,
boolean option_approximate)
Add this option to the list. |
void |
add(java.lang.String option_value,
java.lang.String option_utterance,
java.lang.String option_dtmf)
Add this option to the list. |
void |
add(java.lang.String option_value,
java.lang.String option_utterance,
java.lang.String option_dtmf,
boolean option_approximate)
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 |
Field Detail |
---|
public static final java.lang.String ACCEPT_EXACT
public static final java.lang.String ACCEPT_APPROX
Constructor Detail |
---|
public SelectOne.Options()
Method Detail |
---|
public void add(java.lang.String option_utterance)
option_utterance
- The utterance for this optionpublic void add(java.lang.String option_utterance, boolean option_approximate)
option_utterance
- The utterance for this optionoption_approximate
- Whether an exact or approximate match is
soughtpublic void add(java.lang.String option_value, java.lang.String option_utterance)
option_value
- The value for this optionoption_utterance
- The utterance for this optionpublic void add(java.lang.String option_value, java.lang.String option_utterance, boolean option_approximate)
option_value
- The value for this optionoption_utterance
- The utterance for this optionoption_approximate
- Whether an exact or approximate match is
soughtpublic void add(java.lang.String option_value, java.lang.String option_utterance, java.lang.String option_dtmf)
option_value
- The value for this optionoption_utterance
- The utterance for this optionoption_dtmf
- The DTMF value for this optionpublic void add(java.lang.String option_value, java.lang.String option_utterance, java.lang.String option_dtmf, boolean option_approximate)
option_value
- The value for this optionoption_utterance
- The utterance for this optionoption_dtmf
- The DTMF value for this optionoption_approximate
- Whether an exact or approximate match is
soughtpublic java.lang.String getVXMLOptionsMarkup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |