public class DavPropertyName extends java.lang.Object implements DavConstants, XmlSerializable, PropEntry
DavPropertyName class reflects a WebDAV property name. It
holds together the local name of the property and its namespace.| Modifier and Type | Field and Description |
|---|---|
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 |
creationDateFormat, DEPTH_0, DEPTH_1, DEPTH_INFINITY, DEPTH_INFINITY_S, HEADER_AUTHORIZATION, HEADER_CONTENT_LANGUAGE, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DAV, HEADER_DEPTH, HEADER_DESTINATION, HEADER_ETAG, HEADER_IF, HEADER_LAST_MODIFIED, HEADER_LOCK_TOKEN, HEADER_OVERWRITE, HEADER_TIMEOUT, INFINITE_TIMEOUT, modificationDateFormat, NAMESPACE, OPAQUE_LOCK_TOKEN_PREFIX, PROPERTY_CREATIONDATE, PROPERTY_DISPLAYNAME, PROPERTY_GETCONTENTLANGUAGE, PROPERTY_GETCONTENTLENGTH, PROPERTY_GETCONTENTTYPE, PROPERTY_GETETAG, PROPERTY_GETLASTMODIFIED, PROPERTY_LOCKDISCOVERY, PROPERTY_RESOURCETYPE, PROPERTY_SOURCE, PROPERTY_SUPPORTEDLOCK, PROPFIND_ALL_PROP, PROPFIND_ALL_PROP_INCLUDE, PROPFIND_BY_PROPERTY, PROPFIND_PROPERTY_NAMES, TIMEOUT_INFINITE, UNDEFINED_TIME, UNDEFINED_TIMEOUT, XML_ACTIVELOCK, XML_ALLPROP, XML_COLLECTION, XML_DEPTH, XML_DST, XML_EXCLUSIVE, XML_HREF, XML_INCLUDE, XML_KEEPALIVE, XML_LINK, XML_LOCKENTRY, XML_LOCKINFO, XML_LOCKROOT, XML_LOCKSCOPE, XML_LOCKTOKEN, XML_LOCKTYPE, XML_MULTISTATUS, XML_OMIT, XML_OWNER, XML_PROP, XML_PROPERTYBEHAVIOR, XML_PROPERTYUPDATE, XML_PROPFIND, XML_PROPNAME, XML_PROPSTAT, XML_REMOVE, XML_RESPONSE, XML_RESPONSEDESCRIPTION, XML_SET, XML_SHARED, XML_SOURCE, XML_STATUS, XML_TIMEOUT, XML_WRITE| Modifier and Type | Method and Description |
|---|---|
static DavPropertyName |
create(java.lang.String name)
Creates a new
DavPropertyName with the given local name
and the default WebDAV namespace. |
static DavPropertyName |
create(java.lang.String name,
Namespace namespace)
Creates a new
DavPropertyName with the given name and
Namespace. |
static DavPropertyName |
createFromXml(org.w3c.dom.Element nameElement)
Create a new
DavPropertyName with the name and namespace
of the given Xml element. |
boolean |
equals(java.lang.Object obj)
Checks if this property has the same name and namespace as the
given one.
|
java.lang.String |
getName()
Return the name of this
DavPropertyName. |
Namespace |
getNamespace()
Return the namespace of this
DavPropertyName. |
int |
hashCode()
Computes the hash code using this properties name and namespace.
|
java.lang.String |
toString()
Returns a string representation of this property suitable for debugging
|
org.w3c.dom.Element |
toXml(org.w3c.dom.Document document)
Creates a element with the name and namespace of this
DavPropertyName. |
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
public static DavPropertyName create(java.lang.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 namepublic static DavPropertyName create(java.lang.String name)
DavPropertyName with the given local name
and the default WebDAV namespace.name - The local name of the new property namepublic static DavPropertyName createFromXml(org.w3c.dom.Element nameElement)
DavPropertyName with the name and namespace
of the given Xml element.nameElement - DavPropertyName instancepublic java.lang.String getName()
DavPropertyName.public Namespace getNamespace()
DavPropertyName.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare totrue if the 2 objects are equal;
false otherwisepublic java.lang.String toString()
toString in class java.lang.Objectpublic org.w3c.dom.Element toXml(org.w3c.dom.Document document)
DavPropertyName.toXml in interface XmlSerializabledocument - DavPropertyName.Copyright © 2010 - 2023 Adobe. All Rights Reserved