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