Java Code Examples for android.view.ViewStructure.HtmlInfo#Builder

The following examples show how to use android.view.ViewStructure.HtmlInfo#Builder . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AssistStructure.java    From android_9.0.0_r45 with Apache License 2.0 4 votes vote down vote up
@Override
public HtmlInfo.Builder newHtmlInfoBuilder(@NonNull String tagName) {
    return new HtmlInfoNodeBuilder(tagName);
}
 
Example 2
Source File: ViewStructure.java    From android_9.0.0_r45 with Apache License 2.0 2 votes vote down vote up
/**
 * Creates a new {@link HtmlInfo.Builder} for the given HTML tag.
 *
 * @param tagName name of the HTML tag.
 * @return a new builder.
 */
public abstract HtmlInfo.Builder newHtmlInfoBuilder(@NonNull String tagName);