org.efaps.ui.webdav.method
Enum DAVProperty

java.lang.Object
  extended by java.lang.Enum<DAVProperty>
      extended by org.efaps.ui.webdav.method.DAVProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DAVProperty>

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

The enum defines the DAV properties described in RFC2518 chapter 13.


Enum Constant Summary
creationdate
          Records the time and date the resource was created.
displayname
          Provides a name for the resource that is suitable for presentation to a user.
getcontentlanguage
          Contains the Content-Language header returned by a GET without accept headers
getcontentlength
          Contains the Content-Length header returned by a GET without accept headers.
getcontenttype
          Contains the Content-Type header returned by a GET without accept headers.
getetag
          Contains the ETag header returned by a GET without accept headers.
getlastmodified
          Contains the Last-Modified header returned by a GET method without accept headers.
lockdiscovery
          Describes the active locks on a resource.
resourcetype
          Specifies the nature of the resource.
source
          The destination of the source link identifies the resource that contains the unprocessed source of the link's source.
supportedlock
          To provide a listing of the lock capabilities supported by the resource.
 
Method Summary
 java.lang.String makeXML(AbstractResource _rsrc)
           
protected  java.lang.String makeXML(java.lang.String _text)
           
static DAVProperty valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DAVProperty[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

creationdate

public static final DAVProperty creationdate
Records the time and date the resource was created.


displayname

public static final DAVProperty displayname
Provides a name for the resource that is suitable for presentation to a user.


getcontentlanguage

public static final DAVProperty getcontentlanguage
Contains the Content-Language header returned by a GET without accept headers


getcontentlength

public static final DAVProperty getcontentlength
Contains the Content-Length header returned by a GET without accept headers.


getcontenttype

public static final DAVProperty getcontenttype
Contains the Content-Type header returned by a GET without accept headers.


getetag

public static final DAVProperty getetag
Contains the ETag header returned by a GET without accept headers.


getlastmodified

public static final DAVProperty getlastmodified
Contains the Last-Modified header returned by a GET method without accept headers.


lockdiscovery

public static final DAVProperty lockdiscovery
Describes the active locks on a resource.


resourcetype

public static final DAVProperty resourcetype
Specifies the nature of the resource.


source

public static final DAVProperty source
The destination of the source link identifies the resource that contains the unprocessed source of the link's source.


supportedlock

public static final DAVProperty supportedlock
To provide a listing of the lock capabilities supported by the resource.

Method Detail

values

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

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

valueOf

public static DAVProperty 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
java.lang.NullPointerException - if the argument is null

makeXML

protected java.lang.String makeXML(java.lang.String _text)

makeXML

public java.lang.String makeXML(AbstractResource _rsrc)


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.