drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ActiveLock.java
public String getDepth() throws MalformedElementException {
        String depth = getChildText(root, "depth", false); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingDepthElmt"), depth); //$NON-NLS-1$
        ensure(depth.equals(IContext.DEPTH_ZERO) || depth.equals(IContext.DEPTH_ONE) || depth.equals(IContext.DEPTH_INFINITY), Policy.bind("ensure.invalidDepth", depth)); //$NON-NLS-1$
        return depth;
    }
public String getDepth() throws MalformedElementException {
        String depth = getChildText(root, "depth", false); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingDepthElmt"), depth); //$NON-NLS-1$
        ensure(depth.equals(IContext.DEPTH_ZERO) || depth.equals(IContext.DEPTH_ONE) || depth.equals(IContext.DEPTH_INFINITY), Policy.bind("ensure.invalidDepth", depth)); //$NON-NLS-1$
        return depth;
    }
public String getDepth ( ) throws MalformedElementException { String depth = getChildText ( root , "depth" , false ) ; //$NON-NLS-1$ ensureNotNull ( Policy . bind ( "ensure.missingDepthElmt" ) , depth ) ; //$NON-NLS-1$ ensure ( depth . equals ( IContext . DEPTH_ZERO ) || depth . equals ( IContext . DEPTH_ONE ) || depth . equals ( IContext . DEPTH_INFINITY ) , Policy . bind ( "ensure.invalidDepth" , depth ) ) ; //$NON-NLS-1$ return depth ; }
Returns the depth of this activelock; for example,
<code>Context.DEPTH_ZERO</code>.

@throws MalformedElementException if there is reason to believe that
this editor's underlying element is not well formed
@see    Context
Returns the depth of this activelock ; for example <code > Context . DEPTH_ZERO< / code > .