drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
public boolean isWorkingResource() throws DAVException {
        PropertyStatus propertyStat = getProperty(DAV_SUPPORTED_LIVE_PROPERTY_SET);
        // If the live-property-set is not supported, then the answer is 'no'.
        if (propertyStat.getStatusCode() == IResponse.SC_NOT_FOUND)
            return false;
        // If there was a problem getting the live property set, throw an exception.
        examineStatusCode(propertyStat.getStatusCode(), propertyStat.getStatusMessage());
        // Check to see if the required properties are/are not in the supported set.
        try {
            Element propertySet = propertyStat.getProperty();
            return ((ElementEditor.hasChild(propertySet, DAV_CHECKED_OUT)) && !(ElementEditor.hasChild(propertySet, DAV_AUTO_CHECKOUT)));
        } catch (MalformedElementException exception) {
            throw new SystemException(exception);
        }
    }
public boolean isWorkingResource() throws DAVException {
        PropertyStatus propertyStat = getProperty(DAV_SUPPORTED_LIVE_PROPERTY_SET);
        // If the live-property-set is not supported, then the answer is 'no'.
        if (propertyStat.getStatusCode() == IResponse.SC_NOT_FOUND)
            return false;
        // If there was a problem getting the live property set, throw an exception.
        examineStatusCode(propertyStat.getStatusCode(), propertyStat.getStatusMessage());
        // Check to see if the required properties are/are not in the supported set.
        try {
            Element propertySet = propertyStat.getProperty();
            return ((ElementEditor.hasChild(propertySet, DAV_CHECKED_OUT)) && !(ElementEditor.hasChild(propertySet, DAV_AUTO_CHECKOUT)));
        } catch (MalformedElementException exception) {
            throw new SystemException(exception);
        }
    }
public boolean isWorkingResource ( ) throws DAVException { PropertyStatus propertyStat = getProperty ( DAV_SUPPORTED_LIVE_PROPERTY_SET ) ; // If the live-property-set is not supported, then the answer is 'no'. if ( propertyStat . getStatusCode ( ) == IResponse . SC_NOT_FOUND ) return false ; // If there was a problem getting the live property set, throw an exception. examineStatusCode ( propertyStat . getStatusCode ( ) , propertyStat . getStatusMessage ( ) ) ; // Check to see if the required properties are/are not in the supported set. try { Element propertySet = propertyStat . getProperty ( ) ; return ( ( ElementEditor . hasChild ( propertySet , DAV_CHECKED_OUT ) ) && ! ( ElementEditor . hasChild ( propertySet , DAV_AUTO_CHECKOUT ) ) ) ; } catch ( MalformedElementException exception ) { throw new SystemException ( exception ) ; } }
Check to see if the resource is a working resource.
<p>
The resource is a working resource if it has
&lt;DAV:checked-out&gt; and does not have &lt;DAV:auto-checkout&gt;
in the &lt;DAV:supported-live-properties-set&gt;.</p>

@return <code>true</code> if the resource is a working resource
and <code>false</code> otherwise.
@throws DAVException if a problem occurs determining the state
of the resource.
Check to see if the resource is a working resource . <p > The resource is a working resource if it has &lt ; DAV : checked - out&gt ; and does not have &lt ; DAV : auto - checkout&gt ; in the &lt ; DAV : supported - live - properties - set&gt ; . < / p >