Interface NodeDescendants.Visitor

    • Method Detail

      • visitNode

        java.lang.Object visitNode​(org.w3c.dom.Node n)
        Visit a node in a tree. If the object doing the visiting wishes to stop the traversal early, it should return non-null. Otherwise it should return null.
        Parameters:
        n - the node being visited
        Returns:
        null if the traversal is to continue after this node; non-null if it is to stop