| Modifier and Type | Field and Description |
|---|---|
static String |
V_BODY
Constants
|
static String |
V_CLIENT |
static String |
V_CONFERENCE |
static String |
V_DIAL |
static String |
V_ENQUEUE |
static String |
V_GATHER |
static String |
V_HANGUP |
static String |
V_LEAVE |
static String |
V_MEDIA |
static String |
V_MESSAGE |
static String |
V_NUMBER |
static String |
V_PAUSE |
static String |
V_PLAY |
static String |
V_QUEUE |
static String |
V_RECORD |
static String |
V_REDIRECT |
static String |
V_REJECT |
static String |
V_RESPONSE |
static String |
V_SAY |
static String |
V_SIP |
static String |
V_SMS
The Constant V_SMS.
|
static String |
V_URI |
| Constructor and Description |
|---|
Verb(String tag,
String body)
Instantiates a new verb.
|
| Modifier and Type | Method and Description |
|---|---|
Verb |
append(Verb verb)
Append.
|
String |
asURL()
As url.
|
HashMap<String,String> |
getAttributes()
Gets the attributes.
|
String |
getBody()
Gets the body.
|
ArrayList<Verb> |
getChildren()
Gets the children.
|
String |
getTag()
Gets the tag.
|
void |
set(String key,
String value)
Sets the.
|
String |
toEscapedXML()
Return escaped XML representation of the verb.
|
String |
toXML()
Returns (unescaped) xml representation of the Verb.
|
public static final String V_BODY
public static final String V_CLIENT
public static final String V_CONFERENCE
public static final String V_DIAL
public static final String V_ENQUEUE
public static final String V_GATHER
public static final String V_HANGUP
public static final String V_LEAVE
public static final String V_MEDIA
public static final String V_MESSAGE
public static final String V_NUMBER
public static final String V_PAUSE
public static final String V_PLAY
public static final String V_QUEUE
public static final String V_RECORD
public static final String V_REDIRECT
public static final String V_REJECT
public static final String V_RESPONSE
public static final String V_SAY
public static final String V_SIP
public static final String V_SMS
public static final String V_URI
public Verb append(Verb verb) throws TwiMLException
verb - the verbTwiMLException - the twiml exceptionpublic String toXML()
public String toEscapedXML()
public String asURL()
public String getBody()
public String getTag()
Copyright © 2011 Twilio, Inc. All Rights Reserved.