org.apache.webdav.lib.properties
Class OwnerProperty

java.lang.Object
  |
  +--org.apache.webdav.lib.BaseProperty
        |
        +--org.apache.webdav.lib.properties.OwnerProperty
All Implemented Interfaces:
Property

public class OwnerProperty
extends BaseProperty

This interface models the <D:owner> property, which is defined in the WebDAV Access Control Protocol specification.

Version:
$Revision: 1.1 $
Author:
Dirk Verbeeck

Field Summary
static java.lang.String TAG_NAME
          The property name.
 
Fields inherited from class org.apache.webdav.lib.BaseProperty
element, response
 
Constructor Summary
OwnerProperty(ResponseEntity response, org.w3c.dom.Element element)
          Default constructor for the property.
 
Method Summary
 java.lang.String getHref()
          Returns the value of the href element.
 java.lang.String getPropertyAsString()
          This method returns the namespace of the property.
 java.lang.String toString()
          Get a String representation of the property.
 
Methods inherited from class org.apache.webdav.lib.BaseProperty
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
The property name.
Constructor Detail

OwnerProperty

public OwnerProperty(ResponseEntity response,
                     org.w3c.dom.Element element)
Default constructor for the property.
Method Detail

getHref

public java.lang.String getHref()
Returns the value of the href element.

getPropertyAsString

public java.lang.String getPropertyAsString()
Description copied from class: BaseProperty
This method returns the namespace of the property. Thus, for example, calling this method on a property such as <D:getlastmodified>Tue, 05 Dec 2000 05:25:02</D:getlastmodified> returns Tue, 05 Dec 2000 05:25:02.
Overrides:
getPropertyAsString in class BaseProperty

toString

public java.lang.String toString()
Description copied from class: BaseProperty
Get a String representation of the property.
Overrides:
toString in class BaseProperty