drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java
public static boolean isDAVElement(Node node) {
        if (node == null || node.getNodeType() != Node.ELEMENT_NODE)
            return false;
        try {
            if (!DAV_NS.equals(getNSName((Element) node)))
                return false;
        } catch (MalformedElementException e) {
            return false;
        }
        return true;
    }
public static boolean isDAVElement(Node node) {
        if (node == null || node.getNodeType() != Node.ELEMENT_NODE)
            return false;
        try {
            if (!DAV_NS.equals(getNSName((Element) node)))
                return false;
        } catch (MalformedElementException e) {
            return false;
        }
        return true;
    }
public static boolean isDAVElement ( Node node ) { if ( node == null || node . getNodeType ( ) != Node . ELEMENT_NODE ) return false ; try { if ( ! DAV_NS . equals ( getNSName ( ( Element ) node ) ) ) return false ; } catch ( MalformedElementException e ) { return false ; } return true ; }
Returns a boolean indicating whether or not the given node is a
WebDAV element. The node may be <code>null</code> in which case
<code>false</code> is returned.

@param node a node, or <code>null</code>
@return     a boolean indicating whether or not the given node is a
WebDAV element
Returns a boolean indicating whether or not the given node is a WebDAV element . The node may be <code > null< / code > in which case <code > false< / code > is returned .