Interface NodeVisitor

    • Method Detail

      • visit

        boolean visit​(NodeVisitor.ElementType type,
                      Element element)
        Visit the element using provided element type.
        Parameters:
        type - the element type
        element - the element to visit
        Returns:
        true to visit descendants, false to stop traversal
      • visit

        boolean visit​(ShadowRoot root)
        Visit the shadow root.
        Parameters:
        root - the shadow root to visit
        Returns:
        true to visit descendants, false to stop traversal