fi.hut.tml.xsmiles.mlfc.xforms.dialog
Class GrammarGenerator

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.GrammarGenerator

public class GrammarGenerator
extends java.lang.Object

Author:
honkkis

Field Summary
static java.lang.String gEnd
           
static java.lang.String gStart
           
 
Constructor Summary
GrammarGenerator()
           
 
Method Summary
static java.lang.String addHeader(java.util.Enumeration strings)
           
static void generateDateGrammar(Grammar grammar)
           
static void generateIntegerGrammar(Grammar grammar)
           
static void GenerateSimpleGrammar(java.util.Enumeration e, Grammar grammar)
           
static void generateStringGrammar(Grammar grammar)
           
static java.lang.String replaceNumbersWithStrings(java.lang.String orig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gStart

public static final java.lang.String gStart
See Also:
Constant Field Values

gEnd

public static final java.lang.String gEnd
See Also:
Constant Field Values
Constructor Detail

GrammarGenerator

public GrammarGenerator()
Method Detail

GenerateSimpleGrammar

public static void GenerateSimpleGrammar(java.util.Enumeration e,
                                         Grammar grammar)

replaceNumbersWithStrings

public static java.lang.String replaceNumbersWithStrings(java.lang.String orig)

generateIntegerGrammar

public static void generateIntegerGrammar(Grammar grammar)

generateDateGrammar

public static void generateDateGrammar(Grammar grammar)

generateStringGrammar

public static void generateStringGrammar(Grammar grammar)

addHeader

public static java.lang.String addHeader(java.util.Enumeration strings)


X-Smiles 1.2