package english.grammars;

import com.avaya.sce.runtime.GrammarRule;

/**
 * This class is generated automatically.
 * Only exit this class for Dynamic External grammars and override the method String getURL().
 * Last generated by Orchestration Designer at: (timestamp generation disabled)
 */
public class AccountDigit extends com.avaya.sce.runtime.DynamicGrammar {

    //{{START:CLASS:FIELDS
    //}}END:CLASS:FIELDS

    /**
    * Constructor for AccountDigit.
    */
    public AccountDigit() {
		//{{START:CLASS:CONSTRUCTOR
        setMode("dtmf");
		//}}END:CLASS:CONSTRUCTOR
    }

	/**
	* Method buildGrammar.  Subclasses must implement this method  and return an XML grammar.
	* @return void
	* @see com.avaya.sce.runtime.DynamicGrammar#buildGrammar()
	*/
	public void buildGrammar(com.avaya.sce.runtimecommon.SCESession mySession) {
		GrammarRule rule = new GrammarRule("dtmf_grammar", "3-15");
		rule.add( new com.avaya.sce.runtime.GrammarItem( "1" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "2" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "3" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "4" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "5" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "6" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "7" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "8" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "9" ) );
		rule.add( new com.avaya.sce.runtime.GrammarItem( "0" ) );
		add( rule );
	}    
    
}

