|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.documentserver.JVoiceXmlGrammarDocument
public final class JVoiceXmlGrammarDocument
Basic implementation of a GrammarDocument.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
JVoiceXmlGrammarDocument(String content)
Creates a new object. |
|
| Method Summary | |
|---|---|
String |
getDocument()
Retrieves the document as a string. |
GrammarType |
getMediaType()
Returns the declared media type of the grammar. |
void |
setMediaType(GrammarType grammartype)
Sets the media type of this document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JVoiceXmlGrammarDocument(String content)
content - The grammar itself.| Method Detail |
|---|
public GrammarType getMediaType()
getMediaType in interface GrammarDocumentpublic void setMediaType(GrammarType grammartype)
setMediaType in interface GrammarDocumentgrammartype - the new media type.public String getDocument()
getDocument in interface GrammarDocument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||