TtsSpan.ElectronicBuilder


public static class TtsSpan.ElectronicBuilder
extends SemioticClassBuilder<TtsSpan.ElectronicBuilder>



A builder for TtsSpans of type TtsSpan.TYPE_ELECTRONIC.

Summary

Public constructors

ElectronicBuilder()

Creates a TtsSpan of type TtsSpan.TYPE_ELECTRONIC.

Inherited methods

C setAnimacy(String animacy)

Sets the animacy information for this instance.

C setCase(String grammaticalCase)

Sets the grammatical case information for this instance.

C setGender(String gender)

Sets the gender information for this instance.

C setMultiplicity(String multiplicity)

Sets the multiplicity information for this instance.

TtsSpan build()

Returns a TtsSpan built from the parameters set by the setter methods.

C setIntArgument(String arg, int value)

Sets an argument to an int value.

C setLongArgument(String arg, long value)

Sets an argument to a long value.

C setStringArgument(String arg, String value)

Sets an argument to a string value.

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public constructors

ElectronicBuilder

Added in API level 21
public ElectronicBuilder ()

Creates a TtsSpan of type TtsSpan.TYPE_ELECTRONIC.

Public methods

setDomain

Added in API level 21
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

Added in API level 21
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

Added in API level 21
public TtsSpan.ElectronicBuilder setFragmentId (String fragmentId)

Sets the TtsSpan.ARG_FRAGMENT_ID argument.

Parameters
fragmentId String

Returns
TtsSpan.ElectronicBuilder This instance.

setPassword

Added in API level 21
public TtsSpan.ElectronicBuilder setPassword (String password)

Sets the TtsSpan.ARG_PASSWORD argument.

Parameters
password String

Returns
TtsSpan.ElectronicBuilder This instance.

setPath

Added in API level 21
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

Added in API level 21
public TtsSpan.ElectronicBuilder setPort (int port)

Sets the TtsSpan.ARG_PORT argument.

Parameters
port int

Returns
TtsSpan.ElectronicBuilder This instance.

setProtocol

Added in API level 21
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

Added in API level 21
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

Added in API level 21
public TtsSpan.ElectronicBuilder setUsername (String username)

Sets the TtsSpan.ARG_USERNAME argument.

Parameters
username String

Returns
TtsSpan.ElectronicBuilder This instance.