Class HtmlImporter

java.lang.Object
com.codename1.ui.editor.HtmlImporter

public final class HtmlImporter extends Object
Parses an HTML string into the pure rich text editor model (plain text plus per character TextStyle and per paragraph RichBlocks.BlockAttr). Parsing and entity decoding are delegated to the framework's tolerant HTMLParser/XMLParser implementation; this class only maps the resulting DOM onto the editor model. It handles the HTML that HtmlSerializer emits plus common external markup (headings, paragraphs, lists, bold / italic / underline / strike, colored spans and links).