public String getVersion() throws MalformedElementException {
        Element version = getFirstChild(root, "version"); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingVersionElmt"), version); //$NON-NLS-1$
        String href = getChildText(version, "href", true); //$NON-NLS-1$
        ensureNotNull(Policy.bind("ensure.missingHrefElmt"), href); //$NON-NLS-1$
        return decodeHref(href);
    }
public String getVersion() throws MalformedElementException {
        Element version = getFirstChild(root, "version"); 
        ensureNotNull(Policy.bind("ensure.missingVersionElmt"), version); 
        String href = getChildText(version, "href", true); 
        ensureNotNull(Policy.bind("ensure.missingHrefElmt"), href); 
        return decodeHref(href);
    }
public String getVersion ( ) throws MalformedElementException { Element version = getFirstChild ( root , "version" ) ; //$NON-NLS-1$ ensureNotNull ( Policy . bind ( "ensure.missingVersionElmt" ) , version ) ; //$NON-NLS-1$ String href = getChildText ( version , "href" , true ) ; //$NON-NLS-1$ ensureNotNull ( Policy . bind ( "ensure.missingHrefElmt" ) , href ) ; //$NON-NLS-1$ return decodeHref ( href ) ; }
Returns this response's first DAV:version child element.

@return this response's first version href.
@throws MalformedElementException if there is reason to believe that
this editor's underlying element is not well formed
Returns this response s first DAV : version child element .