public static class TtsSpan.TelephoneBuilder extends TtsSpan.SemioticClassBuilder<TtsSpan.TelephoneBuilder>
TtsSpan.TYPE_TELEPHONE
.Constructor and Description |
---|
TelephoneBuilder()
Creates a TtsSpan of type
TtsSpan.TYPE_TELEPHONE . |
TelephoneBuilder(String numberParts)
Creates a TtsSpan of type
TtsSpan.TYPE_TELEPHONE and sets the
TtsSpan.ARG_NUMBER_PARTS argument. |
Modifier and Type | Method and Description |
---|---|
TtsSpan.TelephoneBuilder |
setCountryCode(String countryCode)
Sets the
TtsSpan.ARG_COUNTRY_CODE argument. |
TtsSpan.TelephoneBuilder |
setExtension(String extension)
Sets the
TtsSpan.ARG_EXTENSION argument. |
TtsSpan.TelephoneBuilder |
setNumberParts(String numberParts)
Sets the
TtsSpan.ARG_NUMBER_PARTS argument. |
setAnimacy, setCase, setGender, setMultiplicity
build, setIntArgument, setLongArgument, setStringArgument
public TelephoneBuilder()
TtsSpan.TYPE_TELEPHONE
.public TelephoneBuilder(String numberParts)
TtsSpan.TYPE_TELEPHONE
and sets the
TtsSpan.ARG_NUMBER_PARTS
argument.public TtsSpan.TelephoneBuilder setCountryCode(String countryCode)
TtsSpan.ARG_COUNTRY_CODE
argument.countryCode
- The country code can be a series of digits
optionally prefixed with a "+".public TtsSpan.TelephoneBuilder setNumberParts(String numberParts)
TtsSpan.ARG_NUMBER_PARTS
argument.numberParts
- The main telephone number. Can be a series of
digits and letters separated by spaces, "/", "-" or ".".public TtsSpan.TelephoneBuilder setExtension(String extension)
TtsSpan.ARG_EXTENSION
argument.extension
- The extension can be a series of digits.