org.lobobrowser.util

Class Nodes


public class Nodes
extends java.lang.Object

Method Summary

static Node
getCommonAncestor(Node node1, Node node2)
static boolean
isSameOrAncestorOf(Node node, Node child)

Method Details

getCommonAncestor

public static Node getCommonAncestor(Node node1,
                                     Node node2)

isSameOrAncestorOf

public static boolean isSameOrAncestorOf(Node node,
                                         Node child)