public final class GrammarReference extends GrammarItem
GrammarReference
represents an external grammar reachable with an
URI.TYPE_PROPERTY
Constructor and Description |
---|
GrammarReference(String uri) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJsonProperties(javax.json.JsonObjectBuilder builder) |
boolean |
equals(Object obj) |
String |
getElementType() |
FetchConfiguration |
getFetchConfiguration() |
String |
getUri() |
int |
hashCode() |
void |
setFetchConfiguration(FetchConfiguration fetchConfiguration) |
asJson, getMediaType, getWeight, setMediaType, setWeight, toString
public GrammarReference(String uri)
uri
- The URI of the external grammar. Not empty.public void setFetchConfiguration(FetchConfiguration fetchConfiguration)
fetchConfiguration
- The resource fetch configuration.
null
to use the VoiceXML platform default.public String getElementType()
getElementType
in class GrammarItem
public FetchConfiguration getFetchConfiguration()
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..