|
||||||||||
| 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(java.lang.String localName,
Namespace namespace)
Create a Scope object from the given name and namespace. |
static Scope |
createFromXml(org.w3c.dom.Element lockScope)
Create a Scope object from the given Xml element. |
boolean |
equals(java.lang.Object obj)
Returns true if this Scope is equal to the given one. |
org.w3c.dom.Element |
toXml(org.w3c.dom.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 org.w3c.dom.Element toXml(org.w3c.dom.Document document)
LockDiscovery.
toXml in interface XmlSerializabledocument - to be used as factory.
XmlSerializable.toXml(Document)public boolean equals(java.lang.Object obj)
true if this Scope is equal to the given one.
equals in class java.lang.Objectobj -
public static Scope createFromXml(org.w3c.dom.Element lockScope)
Scope object from the given Xml element.
lockScope -
public static Scope create(java.lang.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 | |||||||||