org.apache.webdav.lib
Interface Property

All Known Subinterfaces:
LockEntryProperty
All Known Implementing Classes:
AclProperty, BaseProperty, CheckedinProperty, CheckedoutProperty, CreationDateProperty, CurrentUserPrivilegeSetProperty, DateProperty, GetContentLengthProperty, GetLastModifiedProperty, HrefValuedProperty, LockDiscoveryProperty, ModificationDateProperty, OwnerProperty, PrincipalCollectionSetProperty, ResourceTypeProperty, SupportedLockProperty

public interface Property

This interface models a DAV property.

Version:
$Revision: 1.3 $

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

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

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

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

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


getPropertyAsString

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

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


getOwningURL

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