org.apache.webdav.lib
Interface Property

All Known Subinterfaces:
GetContentLengthProperty, LockEntryProperty
All Known Implementing Classes:
BaseProperty

public interface Property

This interface models a DAV property.

Version:
$Revision: 1.2 $
Author:
B.C. Holmes

Method Summary
 org.w3c.dom.Element getElement()
          This method returns the property as a DOM Element.
 java.lang.String getLocalName()
          This method returns the local name of the property.
 java.lang.String getName()
          This method returns the full name of the property.
 java.lang.String getNamespaceURI()
          This method returns the namespace of the property.
 java.lang.String getOwningURL()
          This method returns URL file path of the resource to which this property belongs.
 java.lang.String getPropertyAsString()
          This method returns the namespace of the property.
 int getStatusCode()
          This method returns the status code associated with the property.
 

Method Detail

getName

public java.lang.String getName()
This method returns the full name 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 D:getlastmodified.

getLocalName

public java.lang.String getLocalName()
This method returns the local name 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 getlastmodified.

getNamespaceURI

public java.lang.String getNamespaceURI()
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 DAV:.

getElement

public org.w3c.dom.Element getElement()
This method returns the property as a DOM Element.

getPropertyAsString

public java.lang.String getPropertyAsString()
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.

getStatusCode

public int getStatusCode()
This method returns the status code associated with the property.

getOwningURL

public java.lang.String getOwningURL()
This method returns URL file path of the resource to which this property belongs.