|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.lock.Scope
public class 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(String localName,
Namespace namespace)
Create a Scope object from the given name and namespace. |
static Scope |
createFromXml(Element lockScope)
Create a Scope object from the given Xml element. |
boolean |
equals(Object obj)
Returns true if this Scope is equal to the given one. |
Element |
toXml(Document document)
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 Element toXml(Document document)
LockDiscovery.
toXml in interface XmlSerializabledocument - to be used as factory.
XmlSerializable.toXml(Document)public boolean equals(Object obj)
true if this Scope is equal to the given one.
equals in class Objectobj -
public static Scope createFromXml(Element lockScope)
Scope object from the given Xml element.
lockScope -
public static Scope create(String localName,
Namespace namespace)
Scope object from the given name and namespace.
localName - namespace -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||