org.apache.webdav.lib

Interface Property

Known Subinterfaces:
LockEntryProperty
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

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

Method Details

getElement

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

getLocalName

public 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.

getName

public 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.

getNamespaceURI

public 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:.

getOwningURL

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

getPropertyAsString

public 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.