public final class InlineXmlGrammar extends GrammarItem
InlineXmlGrammar
represents an XML source grammar inlined in the
VoiceXML document.TYPE_PROPERTY
Constructor and Description |
---|
InlineXmlGrammar(Document document) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJsonProperties(javax.json.JsonObjectBuilder builder) |
boolean |
equals(Object obj) |
Document |
getDocument() |
String |
getElementType() |
int |
hashCode() |
asJson, getMediaType, getWeight, setMediaType, setWeight, toString
public InlineXmlGrammar(Document document)
document
- The XML source of the grammar. Not null.public Document getDocument()
public String getElementType()
getElementType
in class GrammarItem
protected void addJsonProperties(javax.json.JsonObjectBuilder builder)
addJsonProperties
in class GrammarItem
public int hashCode()
hashCode
in class GrammarItem
public boolean equals(Object obj)
equals
in class GrammarItem
Copyright © 2019 Nu Echo Inc..