/** * Returns the CSS next sibling node of the given node. */ protected static Node getCSSNextSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSNextSibling(); } return n.getNextSibling(); }
/** * Returns the CSS next sibling node of the given node. */ protected static Node getCSSNextSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSNextSibling(); } return n.getNextSibling(); }
/** * Returns the CSS next sibling node of the given node. */ protected static Node getCSSNextSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSNextSibling(); } return n.getNextSibling(); }