public abstract class TwiML extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TwiML.Builder<T extends TwiML.Builder<T>>
Create a new
TwiML node |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<TwiML> |
getChildren()
Get children elements of this TwiML element.
|
Map<String,String> |
getOptions()
Get additional options set on this TwiML's generated XML.
|
String |
getTagName()
Get tag name of this TwiML Element.
|
int |
hashCode() |
String |
toString() |
String |
toUrl()
Convert TwiML object to URL.
|
String |
toXml()
Convert TwiML object to XML.
|
public String getTagName()
public Map<String,String> getOptions()
public String toXml() throws TwiMLException
TwiMLException
- if cannot generate XMLpublic String toUrl() throws TwiMLException
TwiMLException
- if cannot generate URLCopyright © 2019 Twilio, Inc. All Rights Reserved.