drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java
public static PropFind create(Document document) {
        Assert.isNotNull(document);
        Assert.isTrue(document.getDocumentElement() == null);
        Element element = create(document, "propfind"); //$NON-NLS-1$
        try {
            return new PropFind(element);
        } catch (MalformedElementException e) {
            Assert.isTrue(false, Policy.bind("assert.internalError")); //$NON-NLS-1$
            return null;
        }
    }
public static PropFind create(Document document) {
        Assert.isNotNull(document);
        Assert.isTrue(document.getDocumentElement() == null);
        Element element = create(document, "propfind"); //$NON-NLS-1$
        try {
            return new PropFind(element);
        } catch (MalformedElementException e) {
            Assert.isTrue(false, Policy.bind("assert.internalError")); //$NON-NLS-1$
            return null;
        }
    }
public static PropFind create ( Document document ) { Assert . isNotNull ( document ) ; Assert . isTrue ( document . getDocumentElement ( ) == null ) ; Element element = create ( document , "propfind" ) ; //$NON-NLS-1$ try { return new PropFind ( element ) ; } catch ( MalformedElementException e ) { Assert . isTrue ( false , Policy . bind ( "assert.internalError" ) ) ; //$NON-NLS-1$ return null ; } }
Creates a new WebDAV propfind element and sets it as the root of the
given document. Returns an editor on the new propfind element. The
document must not be <code>null</code>, and must not already have a
root element.

@param document the document that will become the root of a new
propfind element
@return         an element editor on a propfind element
Creates a new WebDAV propfind element and sets it as the root of the given document . Returns an editor on the new propfind element . The document must not be <code > null< / code > and must not already have a root element .