Generated by
JDiff

com.itextpdf.styledxmlparser.jsoup.nodes Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.styledxmlparser.jsoup.nodes as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class Document, void charset(Charset)

Sets the charset used in this document. This method is equivalent to OutputSettings.charset(Charset) but in addition it updates the charset / encoding element within the document.

This enables meta charset update.

If there's no element with charset / encoding information yet it will be created. Obsolete charset / encoding definitions are removed!

Elements used:

@param charset Charset @see #updateMetaCharsetElement(boolean) @see OutputSettings#charset(java.nio.charset.Charset)

Class Element, Elements getElementsByAttributeValueMatching(String, String)

Find elements that have attributes whose values match the supplied regular expression. @param key name of the attribute @param regex regular expression to match against attribute values. You can use embedded flags (such as (?i) and (?m) to control regex options. @return elements that have attributes matching this regular expression
Class Element, Elements getElementsMatchingOwnText(String)

Find elements whose text matches the supplied regular expression. @param regex regular expression to match text against. You can use embedded flags (such as (?i) and (?m) to control regex options. @return elements matching the supplied regular expression. @see Element#ownText()
Class Element, Elements getElementsMatchingText(String)

Find elements whose text matches the supplied regular expression. @param regex regular expression to match text against. You can use embedded flags (such as (?i) and (?m) to control regex options. @return elements matching the supplied regular expression. @see Element#text()
Class Element, List textNodes()

Get this element's child text nodes. The list is unmodifiable but the text nodes may be manipulated.

This is effectively a filter on .childNodes() to get Text nodes. @return child text nodes. If this element has no text nodes, returns an empty list.

For example, with the input HTML: {@code

One Two Three
Four

} with the {@code p} element selected: