|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.lock.Scope
The Scope
class abstracts the lock scope as defined by RFC 2518.
Field Summary | |
static Scope |
EXCLUSIVE
|
static Scope |
SHARED
|
Method Summary | |
static Scope |
create(org.jdom.Element lockScope)
Create a Scope object from the given Xml element. |
static Scope |
create(String name,
org.jdom.Namespace namespace)
Create a Scope object from the given name and namespace. |
boolean |
equals(Object obj)
Returns true if this Scope is equal to the given one. |
org.jdom.Element |
toXml()
Return the Xml representation of the lock scope object as present in the LOCK request and response body and in the LockDiscovery . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Scope EXCLUSIVE
public static final Scope SHARED
Method Detail |
public org.jdom.Element toXml()
LockDiscovery
.
public static Scope create(org.jdom.Element lockScope)
Scope
object from the given Xml element.
lockScope
-
public static Scope create(String name, org.jdom.Namespace namespace)
Scope
object from the given name and namespace.
name
- namespace
-
public boolean equals(Object obj)
true
if this Scope is equal to the given one.
obj
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |