| How to specify proprietary attributes for a VFC element |
| Categories: Audium OpenSDK |
| Article ID: | 41 |
| Last updated: | November 02, 2006 |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
SUMMARY
Voice browsers often include a set of proprietary attributes that they allow or are expecting. Developers need to be able to include these attributes in the VoiceXML that they generate through the Voice Foundation Classes (VFCs). This article explains how this can be accomplished.
SYMPTOMS
Developer would like to include a particular attribute in a VoiceXML element they are generating through the VFCs.
RESOLUTION
Many attributes can be specified by setting values on the VFC using mutator classes (i.e. the setSlot() method of the VField class). These methods should be used when they are provided, since they will help assure that the VoiceXML that is produced is valid.
However, if a proprietary attribute needs to be specified for an element, the method insertProprietaryAttribute() should be used, which is inhereted from the VRoot class. Using this method, you can add attributes to any element.
For more information about this method, please refer to the Audium Javadocs.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|