public final class NuanceDynagramBinaryGrammarImplementation extends java.lang.Object implements GrammarImplementation<BinaryGrammar>
| Constructor and Description |
|---|
NuanceDynagramBinaryGrammarImplementation(BinaryGrammar binary)
Constructs a new object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(GrammarImplementation<BinaryGrammar> obj)
Checks if this grammar implementation is equal to the given grammar
implementation.
|
boolean |
equals(java.lang.Object obj) |
BinaryGrammar |
getGrammarDocument()
Retrieves the grammar document.
|
org.jvoicexml.xml.srgs.GrammarType |
getMediaType()
Returns the declared media type of the external grammar.
|
org.jvoicexml.xml.srgs.ModeType |
getModeType()
Returns the mode type of the grammar.
|
java.net.URI |
getURI()
Retrieves the URI of the grammar.
|
int |
hashCode() |
public NuanceDynagramBinaryGrammarImplementation(BinaryGrammar binary)
binary - the binary grammar.public java.net.URI getURI()
getURI in interface GrammarImplementation<BinaryGrammar>public org.jvoicexml.xml.srgs.GrammarType getMediaType()
getMediaType in interface GrammarImplementation<BinaryGrammar>public org.jvoicexml.xml.srgs.ModeType getModeType()
getModeType in interface GrammarImplementation<BinaryGrammar>public BinaryGrammar getGrammarDocument()
getGrammarDocument in interface GrammarImplementation<BinaryGrammar>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean equals(GrammarImplementation<BinaryGrammar> obj)
equals in interface GrammarImplementation<BinaryGrammar>obj - the grammar implementation to compare with.true if the grammar implementations are equal.