KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > voicexml > dom > xerces > VoiceXMLMenuElementImpl


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 Original Code is DigitalSesame
15  * Portions created by DigitalSesame are Copyright (C) 1997-2000 DigitalSesame
16  * All Rights Reserved.
17  *
18  * Contributor(s):
19  *
20  * $Id: VoiceXMLMenuElementImpl.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22
23 package org.enhydra.wireless.voicexml.dom.xerces;
24
25 public class VoiceXMLMenuElementImpl extends VoiceXMLElementImpl implements org.enhydra.wireless.voicexml.dom.VoiceXMLMenuElement {
26
27     public VoiceXMLMenuElementImpl(VoiceXMLDocumentImpl owner, String JavaDoc namespaceURI, String JavaDoc qualifiedName) {
28     super(owner, namespaceURI, qualifiedName);
29     }
30
31     public void setDtmf(boolean newValue) {
32         setAttribute("dtmf", newValue);
33     }
34
35     public boolean getDtmf() {
36         return getBooleanAttribute("dtmf");
37     }
38
39     public void setScope(java.lang.String JavaDoc newValue) {
40         setAttribute("scope", newValue);
41     }
42
43     public String JavaDoc getScope() {
44         return getAttribute("scope");
45     }
46
47     public void setId(java.lang.String JavaDoc newValue) {
48         setAttribute("id", newValue);
49     }
50
51     public String JavaDoc getId() {
52         return getAttribute("id");
53     }
54 }
55
56
57
Popular Tags