Note: The Grammar object is not useful as a generic grammar access or query object. In other words, you cannot round-trip specific grammar syntaxes with the compiled grammar information in the Grammar object. You can create equivalent validation rules in your choice of grammar syntax but there is no guarantee that the input and output will be the same.
Right now, this class is largely a shell; eventually, it will be enriched by having more expressive methods added.
will be moved from dtd.Grammar here. @author Jeffrey Rodriguez, IBM @author Eric Ye, IBM @author Andy Clark, IBM @author Neil Graham, IBMNote: The Grammar object is not useful as a generic grammar access or query object. In other words, you cannot round-trip specific grammar syntaxes with the compiled grammar information in the Grammar object. You can create equivalent validation rules in your choice of grammar syntax but there is no guarantee that the input and output will be the same.
Right now, this class is largely a shell; eventually, it will be enriched by having more expressive methods added.
will be moved from dtd.Grammar here. @author Jeffrey Rodriguez, IBM @author Eric Ye, IBM @author Andy Clark, IBM @author Neil Graham, IBM @version $Id: Grammar.java 447245 2006-09-18 05:22:10Z mrglavas $A grammar object containing the inline grammar or URI reference along with the grammar metadata.
Metadata:
isInline
: Indicates whether this grammar is inline (or a URI reference). Default is Boolean.FALSE (URI reference)isDTMF
: Indicates whether this is a DTMF (or voice) grammar. Default is Boolean.FALSE (voice grammar). This is ignored for inline grammars.name
: An optional name for this grammar.Note: The Grammar object is not useful as a generic grammar access or query object. In other words, you cannot round-trip specific grammar syntaxes with the compiled grammar information in the Grammar object. You can create equivalent validation rules in your choice of grammar syntax but there is no guarantee that the input and output will be the same.
Right now, this class is largely a shell; eventually, it will be enriched by having more expressive methods added.
will be moved from dtd.Grammar here. @author Jeffrey Rodriguez, IBM @author Eric Ye, IBM @author Andy Clark, IBM @author Neil Graham, IBM @version $Id: Grammar.java 319806 2004-02-24 23:15:58Z mrglavas $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|