Package gui.html
Class HtmlParsing
- java.lang.Object
-
- gui.html.HtmlParsing
-
public class HtmlParsing extends java.lang.Object
parses all active Layers to html-file used in e.g. iframe
-
-
Constructor Summary
Constructors Constructor Description HtmlParsing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
parseLayerRepoToHtml(LayerRepo repo)
java.lang.String
parseLayerToHtmlDoc(Layer layerParam)
parses LayerShapes as Canvas in html
-
-
-
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
-
-