Generated by
JDiff

com.itextpdf.styledxmlparser.jsoup.parser Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.styledxmlparser.jsoup.parser 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 Parser

Parses HTML into a com.itextpdf.styledxmlparser.jsoup.nodes.Document. Generally best to use one of the more convenient parse methods in com.itextpdf.styledxmlparser.jsoup.Jsoup.

Class Tag, boolean preserveWhitespace()

Get if this tag should preserve whitespace within child text nodes. @return if preserve whitepace whitespace
Class Tag, Tag valueOf(String)

Get a Tag by name. If not previously defined (unknown), returns a new generic tag, that can do anything.

Pre-defined tags (P, DIV etc) will be ==, but unknown tags are not registered and will only .equals(). @param tagName Name of tag, e.g. "p". Case insensitive sensitive. @return The tag, either defined or new generic.


Class TokenQueue, String chompBalanced(char, char)

Pulls a balanced string off the queue. E.g. if queue is "(one (two) three) four", (,) will return "one (two) three", and leave " four" on the queue. Unbalanced openers and closers can be quoted (with ' or ") or escaped (with \). Those escapes will be left in the returned string, which is suitable for regexes (where we need to preserve the escape), but unsuitable for contains text strings; use unescape for that. @param open opener @param close closer @return data matched from the queue
Class TokenQueue, String consumeElementSelector()

Consume a CSS element selector (tag name, but | instead of : for namespaces (or *| for wildcard namespace), to not conflict with :pseudo selects). @return tag name
Class TokenQueue, String unescape(String)

Unescaped Unescape a \ escaped string. @param in backslash escaped string @return unescaped string