Class HtmlImporter.Result

java.lang.Object
com.codename1.ui.editor.HtmlImporter.Result
Enclosing class:
HtmlImporter

public static final class HtmlImporter.Result extends Object
The imported content.
  • Method Details

    • getText

      public String getText()
      The plain text.
    • getStyles

      public List<TextStyle> getStyles()
      One style per character.
    • getBlocks

      public List<RichBlocks.BlockAttr> getBlocks()
      One block attribute per paragraph.
    • getLinks

      public List<String> getLinks()
      One hyperlink target per character, null outside links.
    • getImageSources

      public List<String> getImageSources()
      One image source per character, non-null only for object-replacement characters.
    • hasBlockContent

      public boolean hasBlockContent()
      True when the fragment explicitly contained block-level markup.