addFromHtml
Contents
[
Hide
]addFromHtml(String text) function
Adds text from specified html string to the collection.
Parameters
Name | Type | Description |
---|---|---|
text | String | HTML text. |
addFromHtml(String text, ExternalResourceResolver resolver, String uri) function
Adds text from specified html string to the collection.
Parameters
Name | Type | Description |
---|---|---|
text | String | HTML text. |
resolver | ExternalResourceResolver | Resolver callback object which resolves URIs and fetches referrenced objects. |
uri | String | URI for adding HTML document. Used for resolving relative links. Specifying resolver can potentially introduce a vulnurability. Use with caution. |
addFromHtml(String text, HtmlExternalResolver resolver, String uri) function
Adds text from specified html string to the collection.
Parameters
Name | Type | Description |
---|---|---|
text | String | HTML text. |
resolver | HtmlExternalResolver | Resolver callback object which resolves URIs and fetches referrenced objects. |
uri | String | URI for adding HTML document. Used for resolving relative links. Specifying resolver can potentially introduce a vulnurability. Use with caution. |