TtsSpan.ElectronicBuilder
public
static
class
TtsSpan.ElectronicBuilder
extends SemioticClassBuilder<TtsSpan.ElectronicBuilder>
java.lang.Object | |||
↳ | android.text.style.TtsSpan.Builder<C extends android.text.style.TtsSpan.SemioticClassBuilder<?>> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.ElectronicBuilder> | ||
↳ | android.text.style.TtsSpan.ElectronicBuilder |
A builder for TtsSpans of type TtsSpan.TYPE_ELECTRONIC
.
Summary
Public constructors | |
---|---|
ElectronicBuilder()
Creates a TtsSpan of type |
Public methods | |
---|---|
TtsSpan.ElectronicBuilder
|
setDomain(String domain)
Sets the |
TtsSpan.ElectronicBuilder
|
setEmailArguments(String username, String domain)
Sets the |
TtsSpan.ElectronicBuilder
|
setFragmentId(String fragmentId)
Sets the |
TtsSpan.ElectronicBuilder
|
setPassword(String password)
Sets the |
TtsSpan.ElectronicBuilder
|
setPath(String path)
Sets the |
TtsSpan.ElectronicBuilder
|
setPort(int port)
Sets the |
TtsSpan.ElectronicBuilder
|
setProtocol(String protocol)
Sets the |
TtsSpan.ElectronicBuilder
|
setQueryString(String queryString)
Sets the |
TtsSpan.ElectronicBuilder
|
setUsername(String username)
Sets the |
Inherited methods | |
---|---|
Public constructors
ElectronicBuilder
public ElectronicBuilder ()
Creates a TtsSpan of type TtsSpan.TYPE_ELECTRONIC
.
Public methods
setDomain
public TtsSpan.ElectronicBuilder setDomain (String domain)
Sets the TtsSpan.ARG_DOMAIN
argument.
Parameters | |
---|---|
domain |
String : The domain, for example "source.android.com". |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setEmailArguments
public TtsSpan.ElectronicBuilder setEmailArguments (String username, String domain)
Sets the TtsSpan.ARG_USERNAME
and TtsSpan.ARG_DOMAIN
arguments, representing an email address.
Parameters | |
---|---|
username |
String : The part before the @ in the email address. |
domain |
String : The part after the @ in the email address. |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setFragmentId
public TtsSpan.ElectronicBuilder setFragmentId (String fragmentId)
Sets the TtsSpan.ARG_FRAGMENT_ID
argument.
Parameters | |
---|---|
fragmentId |
String |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setPassword
public TtsSpan.ElectronicBuilder setPassword (String password)
Sets the TtsSpan.ARG_PASSWORD
argument.
Parameters | |
---|---|
password |
String |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setPath
public TtsSpan.ElectronicBuilder setPath (String path)
Sets the TtsSpan.ARG_PATH
argument.
Parameters | |
---|---|
path |
String : For example "source/index.html". |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setPort
public TtsSpan.ElectronicBuilder setPort (int port)
Sets the TtsSpan.ARG_PORT
argument.
Parameters | |
---|---|
port |
int |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setProtocol
public TtsSpan.ElectronicBuilder setProtocol (String protocol)
Sets the TtsSpan.ARG_PROTOCOL
argument.
Parameters | |
---|---|
protocol |
String : The protocol of the URI. Examples are "http" and
"ftp". |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setQueryString
public TtsSpan.ElectronicBuilder setQueryString (String queryString)
Sets the TtsSpan.ARG_QUERY_STRING
argument.
Parameters | |
---|---|
queryString |
String : For example "arg=value&argtwo=value". |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |
setUsername
public TtsSpan.ElectronicBuilder setUsername (String username)
Sets the TtsSpan.ARG_USERNAME
argument.
Parameters | |
---|---|
username |
String |
Returns | |
---|---|
TtsSpan.ElectronicBuilder |
This instance. |