ViewStructure.HtmlInfo.Builder

public static abstract class ViewStructure.HtmlInfo.Builder
extends Object

java.lang.Object
   ↳ android.view.ViewStructure.HtmlInfo.Builder


Builder for ViewStructure.HtmlInfo objects.

Summary

Public constructors

ViewStructure.HtmlInfo.Builder()

Public methods

abstract ViewStructure.HtmlInfo.Builder addAttribute(String name, String value)

Adds an HTML attribute.

abstract ViewStructure.HtmlInfo build()

Builds the ViewStructure.HtmlInfo object.

Inherited methods

Public constructors

ViewStructure.HtmlInfo.Builder

added in API level 26
public ViewStructure.HtmlInfo.Builder ()

Public methods

addAttribute

added in API level 26
public abstract ViewStructure.HtmlInfo.Builder addAttribute (String name, 
                String value)

Adds an HTML attribute.

Parameters
name String: name of the attribute.

This value must never be null.

value String: value of the attribute.

This value must never be null.

Returns
ViewStructure.HtmlInfo.Builder same builder, for chaining.

build

added in API level 26
public abstract ViewStructure.HtmlInfo build ()

Builds the ViewStructure.HtmlInfo object.

Returns
ViewStructure.HtmlInfo a new ViewStructure.HtmlInfo instance.