public abstract class AbstractGrammarCreator extends java.lang.Object implements GrammarCreator
GrammarCreator.| Constructor and Description |
|---|
AbstractGrammarCreator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(org.jvoicexml.xml.srgs.SrgsXmlDocument document)
Retrieves a byte representation of the given document.
|
protected org.jvoicexml.xml.srgs.ModeType |
getMode(java.net.URI uri)
Retrieves the mode of the grammar.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getParameters(java.net.URI uri)
Retrieves the query parameters from the URI.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGrammar, getTypeNamepublic final byte[] getBytes(org.jvoicexml.xml.srgs.SrgsXmlDocument document)
throws java.io.IOException
document - the document to convert to bytes.java.io.IOException - error creating the byte representationprotected final org.jvoicexml.xml.srgs.ModeType getMode(java.net.URI uri)
throws BadFetchError
uri - the given URI.BadFetchError - error parsing the URIprotected final java.util.Map<java.lang.String,java.lang.String> getParameters(java.net.URI uri)
throws BadFetchError
uri - the given URIBadFetchError - error parsing the query string