public interface NodeVisitorFactory
NodeVisitors.
Extension can provide own implementation to provide their own NodeVisitors.
| Modifier and Type | Method and Description |
|---|---|
NodeVisitor |
createVisitor(PebbleTemplate template)
This method creates a new instance of a
NodeVisitor. |
NodeVisitor createVisitor(PebbleTemplate template)
NodeVisitor.
The method is called whenever a visitor is applied to a PebbleTemplate.
The method needs to be thread-safe. However the NodeVisitor itself does not need to be
thread-safe.
template - the template for which a visitor should be created for.Copyright © 2020. All rights reserved.