public interface NodeVisitor
#accept(NodeVisitor, boolean)| Modifier and Type | Interface and Description |
|---|---|
static class |
NodeVisitor.ElementType
The type of the element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(NodeVisitor.ElementType type,
Element element)
Visit the
element using provided element type. |
boolean |
visit(ShadowRoot root)
Visit the shadow
root. |
boolean visit(NodeVisitor.ElementType type, Element element)
element using provided element type.type - the element typeelement - the element to visittrue to visit descendants, false to
stop traversalboolean visit(ShadowRoot root)
root.root - the shadow root to visittrue to visit descendants, false to
stop traversalCopyright © 2025. All rights reserved.