Class HtmlImporter
java.lang.Object
com.codename1.ui.editor.HtmlImporter
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).-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlImporter.ResultParses HTML into an editor model result.
-
Method Details
-
parse
Parses HTML into an editor model result.
-