Returns the Java source code of a class that generates the HTML source code of the given node @param the type of appendable used to store the Java source code @param node the node whose content has to be converted @param htmlToJavaHtmlFlowNodeVisitor the visitor
(
final Node node,
final HtmlToJavaHtmlFlowNodeVisitor<T> htmlToJavaHtmlFlowNodeVisitor
)
| 58 | * code of the given node |
| 59 | */ |
| 60 | public <T extends Appendable> T toFlow( |
| 61 | final Node node, |
| 62 | final HtmlToJavaHtmlFlowNodeVisitor<T> htmlToJavaHtmlFlowNodeVisitor |
| 63 | ) { |
| 64 | node.traverse(htmlToJavaHtmlFlowNodeVisitor); |
| 65 | return htmlToJavaHtmlFlowNodeVisitor.getAppendable(); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Returns the Java source code of a class that generates the HTML source |