lockscope
Name: lockscope Namespace: DAV: Purpose: Specifies whether a lock is an exclusive lock, or a shared lock. <!ELEMENT lockscope (exclusive | shared) >
244245246247248249250251252253254255
}; request.setMethod(WebDAVMethod.LOCK.name()); request.setRequestURI(path); request.setContentType(MediaType.APPLICATION_XML); Lockinfo lockinfo = new Lockinfo(); Lockscope lockscope = new Lockscope(); lockscope.setExclusive(new Exclusive()); lockinfo.setLockscope(lockscope); Locktype locktype = new Locktype(); locktype.setWrite(new Write()); lockinfo.setLocktype(locktype); StringWriter writer = new StringWriter();