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