Replaces all child elements of this element with the supplied value parsed as html. @param source the new value for the contents of this element @throws SAXException in case of error @throws IOException in case of error
(final String source)
| 1685 | * @throws IOException in case of error |
| 1686 | */ |
| 1687 | public void setInnerHtml(final String source) throws SAXException, IOException { |
| 1688 | removeAllChildren(); |
| 1689 | getPage().clearComputedStylesUpToRoot(this); |
| 1690 | |
| 1691 | if (source != null) { |
| 1692 | parseHtmlSnippet(source); |
| 1693 | } |
| 1694 | } |
| 1695 | } |
| 1696 | |
| 1697 | /** |
no test coverage detected