Package com.twilio.twiml.voice
Class SsmlSub.Builder
- java.lang.Object
-
- com.twilio.twiml.TwiML.Builder<SsmlSub.Builder>
-
- com.twilio.twiml.voice.SsmlSub.Builder
-
- Enclosing class:
- SsmlSub
public static class SsmlSub.Builder extends TwiML.Builder<SsmlSub.Builder>
Create a new<sub>element
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SsmlSub.Builderalias(String alias)Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviationSsmlSubbuild()Create and return resulting<sub>elementstatic SsmlSub.BuilderfromXml(String xml)Create and return a<SsmlSub.Builder>from an XML string-
Methods inherited from class com.twilio.twiml.TwiML.Builder
addChild, addText, option
-
-
-
-
Constructor Detail
-
Builder
public Builder(String words)
Create a<sub>with words
-
-
Method Detail
-
fromXml
public static SsmlSub.Builder fromXml(String xml) throws TwiMLException
Create and return a<SsmlSub.Builder>from an XML string- Throws:
TwiMLException
-
alias
public SsmlSub.Builder alias(String alias)
Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation
-
build
public SsmlSub build()
Create and return resulting<sub>element
-
-