Class DefaultHtmlToJavaHtmlFlowNodeVisitor

java.lang.Object
htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor<StringBuilder>
htmlflow.flowifier.DefaultHtmlToJavaHtmlFlowNodeVisitor
All Implemented Interfaces:
HtmlToJavaHtmlFlowNodeVisitor<StringBuilder>, org.jsoup.select.NodeVisitor

public class DefaultHtmlToJavaHtmlFlowNodeVisitor extends AbstractHtmlToJavaHtmlFlowNodeVisitor<StringBuilder>
Default implementation of the visitor of a JSoup node that converts the HTML source code into a Java class, it uses a StringBuilder to append the content of the Java class. Note that this implementation is not intended to be thread-safe
Author:
Julien Gouesse
  • Constructor Details

    • DefaultHtmlToJavaHtmlFlowNodeVisitor

      public DefaultHtmlToJavaHtmlFlowNodeVisitor()
      Constructor with indentation disabled
    • DefaultHtmlToJavaHtmlFlowNodeVisitor

      public DefaultHtmlToJavaHtmlFlowNodeVisitor(boolean indented)
      Constructor
      Parameters:
      indented - true if the generated HTML source code is indented, otherwise false