|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.webdav.property.DavPropertyName
public class DavPropertyName
The DavPropertyName
class reflects a Webdav property name. It
holds together the actualy name of the property and its namespace.
Field Summary | |
---|---|
static DavPropertyName |
CREATIONDATE
|
static DavPropertyName |
DISPLAYNAME
|
static DavPropertyName |
GETCONTENTLANGUAGE
|
static DavPropertyName |
GETCONTENTLENGTH
|
static DavPropertyName |
GETCONTENTTYPE
|
static DavPropertyName |
GETETAG
|
static DavPropertyName |
GETLASTMODIFIED
|
static DavPropertyName |
ISCOLLECTION
|
static DavPropertyName |
LOCKDISCOVERY
|
static DavPropertyName |
RESOURCETYPE
|
static DavPropertyName |
SOURCE
|
static DavPropertyName |
SUPPORTEDLOCK
|
Method Summary | |
---|---|
static DavPropertyName |
create(String name)
Creates a new DavPropertyName with the given local name
and the default WebDAV namespace . |
static DavPropertyName |
create(String name,
Namespace namespace)
Creates a new DavPropertyName with the given name and
Namespace. |
static DavPropertyName |
createFromXml(Element nameElement)
Create a new DavPropertyName with the name and namespace
of the given Xml element. |
boolean |
equals(Object obj)
Checks if this property has the same name and namespace as the given one. |
String |
getName()
Return the name of this DavPropertyName . |
Namespace |
getNamespace()
Return the namespace of this DavPropertyName . |
int |
hashCode()
Computes the hash code using this propertys name and namespace. |
String |
toString()
Returns a string representation of this property suitable for debugging |
Element |
toXml(Document document)
Creates a element with the name and namespace of this DavPropertyName . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DavPropertyName CREATIONDATE
public static final DavPropertyName DISPLAYNAME
public static final DavPropertyName GETCONTENTLANGUAGE
public static final DavPropertyName GETCONTENTLENGTH
public static final DavPropertyName GETCONTENTTYPE
public static final DavPropertyName GETETAG
public static final DavPropertyName GETLASTMODIFIED
public static final DavPropertyName LOCKDISCOVERY
public static final DavPropertyName RESOURCETYPE
public static final DavPropertyName SOURCE
public static final DavPropertyName SUPPORTEDLOCK
public static final DavPropertyName ISCOLLECTION
Method Detail |
---|
public static DavPropertyName create(String name, Namespace namespace)
DavPropertyName
with the given name and
Namespace.
name
- The local name of the new property namenamespace
- The namespace of the new property name
public static DavPropertyName create(String name)
DavPropertyName
with the given local name
and the default WebDAV namespace
.
name
- The local name of the new property name
public static DavPropertyName createFromXml(Element nameElement)
DavPropertyName
with the name and namespace
of the given Xml element.
nameElement
-
DavPropertyName
instancepublic String getName()
DavPropertyName
.
public Namespace getNamespace()
DavPropertyName
.
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- the object to compare to
true
if the 2 objects are equal;
false
otherwisepublic String toString()
toString
in class Object
public Element toXml(Document document)
DavPropertyName
.
toXml
in interface XmlSerializable
document
-
DavPropertyName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |