Package ai.platon.pulsar.dom.select
Class ElementVisitor
-
- All Implemented Interfaces:
-
ai.platon.pulsar.dom.select.IElementVisitor
public abstract class ElementVisitor implements IElementVisitor
Node visitor interface. Provide an implementing class to ElementVisitor to iterate through nodes.
This interface provides two methods,
headandtail. The head method is called when the node is first seen, and the tail method when all of the node's children have been visited. As an example, head can be used to create a start tag for a node, and tail to create the end tag.
-
-
Constructor Summary
Constructors Constructor Description ElementVisitor()
-