Summary: Methods | Inherited Methods | [Expand All]

# 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`
`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 ()

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` |

- ## Interfaces

  - WebViewAssertions.ResultDescriber

- ## Classes

  - TagSoupDocumentParser
  - WebAssertion
  - WebViewAssertions