public class HTMLNodeVisitor
extends org.htmlparser.visitors.NodeVisitor
NodeVisitor implementation that builds the HTMLNode tree.| Constructor and Description |
|---|
HTMLNodeVisitor(String ewtAttributePrefix,
org.everit.expression.ExpressionCompiler expressionCompiler,
Map<String,org.everit.templating.TemplateCompiler> inlineCompilers,
org.everit.expression.ParserConfiguration parserConfiguration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finishedParsing() |
RootNode |
getRootNode() |
void |
visitEndTag(org.htmlparser.Tag tag) |
void |
visitRemarkNode(org.htmlparser.Remark remark) |
void |
visitStringNode(org.htmlparser.Text text) |
void |
visitTag(org.htmlparser.Tag tag) |
public HTMLNodeVisitor(String ewtAttributePrefix, org.everit.expression.ExpressionCompiler expressionCompiler, Map<String,org.everit.templating.TemplateCompiler> inlineCompilers, org.everit.expression.ParserConfiguration parserConfiguration)
ewtAttributePrefix - The prefix of EHT attributes. By default it is "data-eht-".expressionCompiler - The compiler that compiles the el-expressions within the template.inlineCompilers - Map of inline compilers where the key is the name of the compiler and the
value is the compiler itself. Used when data-eht-inline attribute is
found.parserConfiguration - The configuration of the parser.public void finishedParsing()
finishedParsing in class org.htmlparser.visitors.NodeVisitorpublic RootNode getRootNode()
public void visitEndTag(org.htmlparser.Tag tag)
visitEndTag in class org.htmlparser.visitors.NodeVisitorpublic void visitRemarkNode(org.htmlparser.Remark remark)
visitRemarkNode in class org.htmlparser.visitors.NodeVisitorpublic void visitStringNode(org.htmlparser.Text text)
visitStringNode in class org.htmlparser.visitors.NodeVisitorpublic void visitTag(org.htmlparser.Tag tag)
visitTag in class org.htmlparser.visitors.NodeVisitorCopyright © 2011–2018 Everit Kft.. All rights reserved.