TagSoupDocumentParser
public final class TagSoupDocumentParser
extends Object
java.lang.Object |
↳ |
android.support.test.espresso.web.assertion.TagSoupDocumentParser |
使用TagSoup将html解析为文档。
Summary
Inherited methods |
From class java.lang.Object
Object |
clone() |
boolean |
equals(Object arg0) |
void |
finalize() |
final Class<?> |
getClass() |
int |
hashCode() |
final void |
notify() |
final void |
notifyAll() |
String |
toString() |
final void |
wait(long arg0, int arg1) |
final void |
wait(long arg0) |
final void |
wait() |
|
Public methods
newInstance
TagSoupDocumentParser newInstance ()
Throws |
SAXNotRecognizedException |
|
SAXNotSupportedException |
|
parse
Document parse (String html)
将给定的html解析为 Document
。
Throws |
SAXException |
|
IOException |
|