pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.util
Enum DAVProperties

java.lang.Object
  extended by java.lang.Enum<DAVProperties>
      extended by org.torweg.pulse.webdav.util.DAVProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DAVProperties>

public enum DAVProperties
extends java.lang.Enum<DAVProperties>

represents the basic DAV resource properties.

(see: http:/ /www.webdav.org/specs/rfc2518.html#dav.properties)

Version:
$Revision: 1236 $
Author:
Thomas Weber

Enum Constant Summary
CREATION_DATE
          records the time and date the resource was created.
DISPLAY_NAME
          provides a name for the resource that is suitable for presentation to a user.
GET_CONTENT_LANGUAGE
          contains the Content-Language header returned by a GET without accept headers.
GET_CONTENT_LENGTH
          contains the Content-Length header returned by a GET without accept headers.
GET_CONTENT_TYPE
          contains the Content-Type header returned by a GET without accept headers.
GET_ETAG
          contains the ETag header returned by a GET without accept headers.
GET_LAST_MODIFIED
          contains the Last-Modified header returned by a GET method without accept headers.
 
Method Summary
 java.lang.String getName()
          get the name of the element representing the property.
 org.jdom.Namespace getNamespace()
          get the namespace of the element representing the property.
static DAVProperties valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DAVProperties[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATION_DATE

public static final DAVProperties CREATION_DATE
records the time and date the resource was created.


DISPLAY_NAME

public static final DAVProperties DISPLAY_NAME
provides a name for the resource that is suitable for presentation to a user.


GET_CONTENT_LANGUAGE

public static final DAVProperties GET_CONTENT_LANGUAGE
contains the Content-Language header returned by a GET without accept headers.


GET_CONTENT_LENGTH

public static final DAVProperties GET_CONTENT_LENGTH
contains the Content-Length header returned by a GET without accept headers.


GET_CONTENT_TYPE

public static final DAVProperties GET_CONTENT_TYPE
contains the Content-Type header returned by a GET without accept headers.


GET_ETAG

public static final DAVProperties GET_ETAG
contains the ETag header returned by a GET without accept headers.


GET_LAST_MODIFIED

public static final DAVProperties GET_LAST_MODIFIED
contains the Last-Modified header returned by a GET method without accept headers.

Method Detail

values

public static final DAVProperties[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DAVProperties c : DAVProperties.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DAVProperties valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getName

public java.lang.String getName()
get the name of the element representing the property.

Returns:
the name of the element

getNamespace

public org.jdom.Namespace getNamespace()
get the namespace of the element representing the property.

Returns:
the namespace