TagSoupDocumentParser

public final class TagSoupDocumentParser
extends Object

java.lang.Object
   ↳ androidx.test.espresso.web.assertion.TagSoupDocumentParser


Uses TagSoup to parse html into Documents.

Summary

Public methods

static TagSoupDocumentParser newInstance()
Document parse(String html)

Parses the given html into an Document.

Inherited methods

From class java.lang.Object

Public methods

parse

Document parse (String html)

Parses the given html into an Document.

Parameters
html String

Returns
Document

Throws
SAXException
IOException