Package gui.html

Class HtmlParsing


  • public class HtmlParsing
    extends java.lang.Object
    parses all active Layers to html-file used in e.g. iframe
    • Constructor Detail

      • HtmlParsing

        public HtmlParsing()
    • Method Detail

      • parseLayerToHtmlDoc

        public java.lang.String parseLayerToHtmlDoc​(Layer layerParam)
                                             throws HtmlParseException
        parses LayerShapes as Canvas in html
        Parameters:
        layerParam - layerobject to parse
        Returns:
        String in html format
        Throws:
        HtmlParseException - Error while parsing Object to HTML String
      • parseLayerRepoToHtml

        public java.lang.String parseLayerRepoToHtml​(LayerRepo repo)
                                              throws HtmlParseException
        Parameters:
        repo - Repository of Layers to parse
        Returns:
        String in html format
        Throws:
        HtmlParseException - Error while parsing Object to HTML String