drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/Update.java
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"); //$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" ) ; //$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 .