public PropStat addPropStat() {
        Element firstHref = getFirstChild(root, "href"); //$NON-NLS-1$
        Assert.isTrue(firstHref == null || getNextSibling(firstHref, new String[] {"href", "status"}) == null); //$NON-NLS-1$ //$NON-NLS-2$
        Element element = addChild(root, "propstat", fgNamesPropStat, false); //$NON-NLS-1$
        try {
            return new PropStat(element);
        } catch (MalformedElementException e) {
            Assert.isTrue(false, Policy.bind("assert.internalError")); //$NON-NLS-1$
            return null; // Never reached.
        }
    }
public PropStat addPropStat ( ) { Element firstHref = getFirstChild ( root , "href" ) ; Assert . isTrue ( firstHref == null || getNextSibling ( firstHref , new String [ ] { "href" , "status" } ) == null ) ; Element element = addChild ( root , "propstat" , fgNamesPropStat , false ) ; try { return new PropStat ( element ) ; } catch ( MalformedElementException e ) { Assert . isTrue ( false , Policy . bind ( "assert.internalError" ) ) ; return null ; } }
Creates and adds a propstat element on this response and returns an
editor on it.

@return an editor on a propstat element