Class AbstractHtmlToJavaHtmlFlowNodeVisitor<T extends Appendable>

java.lang.Object
htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor<T>
Type Parameters:
T - the type of appendable used to store the Java source code
All Implemented Interfaces:
HtmlToJavaHtmlFlowNodeVisitor<T>, org.jsoup.select.NodeVisitor
Direct Known Subclasses:
DefaultHtmlToJavaHtmlFlowNodeVisitor

public abstract class AbstractHtmlToJavaHtmlFlowNodeVisitor<T extends Appendable> extends Object implements HtmlToJavaHtmlFlowNodeVisitor<T>
Defines most of the implementation for a typical visitor of a JSoup node that converts the HTML source code into a Java class except the storage managed by the appendable
Author:
Julien Gouesse
  • Constructor Details

    • AbstractHtmlToJavaHtmlFlowNodeVisitor

      protected AbstractHtmlToJavaHtmlFlowNodeVisitor(Supplier<T> appendableSupplier, boolean indented)
      Constructor
      Parameters:
      appendableSupplier - the supplier of the appendable, can create or get an appendable
      indented - true if the generated HTML source code is indented, otherwise false
  • Method Details