Class ImageMapExtractor


  • public class ImageMapExtractor
    extends java.lang.Object
    This is a utility class for extracting all map elements from the HTML
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getFinalHtml​(java.lang.String input, java.util.List<java.lang.String> maps)  
      static java.util.Map<java.lang.String,​java.lang.String> getImagemapsMap​(java.lang.String input, DesignImporterContext designImporterContext)
      This method returns a Map containing the map element name and the stringified form of map element that is required for image component.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageMapExtractor

        public ImageMapExtractor()
    • Method Detail

      • getImagemapsMap

        public static java.util.Map<java.lang.String,​java.lang.String> getImagemapsMap​(java.lang.String input,
                                                                                             DesignImporterContext designImporterContext)
        This method returns a Map containing the map element name and the stringified form of map element that is required for image component.
        Parameters:
        input - The html string
        designImporterContext -
        Returns:
        a map containing key as map element name and value as stringified map element
      • getFinalHtml

        public static java.lang.String getFinalHtml​(java.lang.String input,
                                                    java.util.List<java.lang.String> maps)