|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.lock.Type
public class 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. |
int |
hashCode()
|
Element |
toXml(Document document)
Returns the Xml representation of this lock Type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Type WRITE
| Method Detail |
|---|
public Element toXml(Document document)
Type.
toXml in interface XmlSerializabledocument - to be used as factory.
XmlSerializable.toXml(Document)public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
true if this Type is equal to the given one.
equals in class Objectobj -
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 | |||||||||