public void addHref(String href) {
        Assert.isNotNull(href);
        Assert.isTrue(getLastChild(root, "propstat") == null); //$NON-NLS-1$
        addChild(root, "href", encodeHref(href), fgNamesStatus, false); //$NON-NLS-1$
    }
public void addHref(String href) {
        Assert.isNotNull(href);
        Assert.isTrue(getLastChild(root, "propstat") == null); 
        addChild(root, "href", encodeHref(href), fgNamesStatus, false); 
    }
public void addHref ( String href ) { Assert . isNotNull ( href ) ; Assert . isTrue ( getLastChild ( root , "propstat" ) == null ) ; //$NON-NLS-1$ addChild ( root , "href" , encodeHref ( href ) , fgNamesStatus , false ) ; //$NON-NLS-1$ }
Adds the given href to this response. If <code>setHref(String)</code>
hasn't been called and no hrefs have been added, this method sets
the first href and is thus equivalent to
<code>setHref(String)</code>. The href must not be <code>null</code>.
This response must not already be in "propstat" form.

@param href the href to add
Adds the given href to this response . If <code > setHref ( String ) < / code > hasn t been called and no hrefs have been added this method sets the first href and is thus equivalent to <code > setHref ( String ) < / code > . The href must not be <code > null< / code > . This response must not already be in propstat form .