TagSoupDocumentParser

public final class TagSoupDocumentParser
extends Object

java.lang.Object
   ↳ android.support.test.espresso.web.assertion.TagSoupDocumentParser


使用TagSoup将html解析为文档。

Summary

Public methods

static TagSoupDocumentParser newInstance()
Document parse(String html)

将给定的html解析为 Document

Inherited methods

From class java.lang.Object

Public methods

newInstance

TagSoupDocumentParser newInstance ()

Returns
TagSoupDocumentParser
Throws
SAXNotRecognizedException
SAXNotSupportedException

parse

Document parse (String html)

将给定的html解析为 Document

Parameters
html String
Returns
Document
Throws
SAXException
IOException