* @throws ObjectNotFoundException
* @throws JDOMException
*/
public XMLValue computeSupportedlock(NodeRevisionDescriptors revisionDescriptors, NodeRevisionDescriptor revisionDescriptor, String contextPath, String servletPath) throws ObjectLockedException, RevisionDescriptorNotFoundException, ServiceAccessException, LinkedObjectNotFoundException, AccessDeniedException, ObjectNotFoundException, LockTokenNotFoundException, JDOMException {
XMLValue xmlValue = new XMLValue();
Element lockentry = new Element(E_LOCKENTRY, DNSP);
Element lockscope = new Element(E_LOCKSCOPE, DNSP);
lockentry.addContent(lockscope);
Element exclusive = new Element(E_EXCLUSIVE, DNSP);
lockscope.addContent(exclusive);
Element locktype = new Element(E_LOCKTYPE, DNSP);
lockentry.addContent(locktype);
Element write = new Element(E_WRITE, DNSP);
locktype.addContent(write);
xmlValue.add(lockentry);
lockentry = new Element(E_LOCKENTRY, DNSP);
lockscope = new Element(E_LOCKSCOPE, DNSP);
lockentry.addContent(lockscope);
Element shared = new Element(E_SHARED, DNSP);
lockscope.addContent(shared);
locktype = new Element(E_LOCKTYPE, DNSP);
lockentry.addContent(locktype);
write = new Element(E_WRITE, DNSP);
locktype.addContent(write);
xmlValue.add(lockentry);
return xmlValue;
}