TagSoupDocumentParser

public final class TagSoupDocumentParser
extends Object

java.lang.Object
   ↳ android.support.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

newInstance

TagSoupDocumentParser newInstance ()

Returns
TagSoupDocumentParser
Throws
SAXNotRecognizedException
SAXNotSupportedException

parse

Document parse (String html)

Parses the given html into an Document.

Parameters
html String
Returns
Document
Throws
SAXException
IOException