Package 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
Modifier and TypeMethodDescriptionThis method returns the property as a DOM Element.This method returns the local name of the property.getName()
This method returns the full name of the property.This method returns the namespace of the property.This method returns URL file path of the resource to which this property belongs.This method returns the namespace of the property.int
This method returns the status code associated with the property.
-
Method Details
-
getName
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>
returnsD:getlastmodified
. -
getLocalName
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>
returnsgetlastmodified
. -
getNamespaceURI
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>
returnsDAV:
. -
getElement
Element getElement()This method returns the property as a DOM Element. -
getPropertyAsString
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>
returnsTue, 05 Dec 2000 05:25:02
. -
getStatusCode
int getStatusCode()This method returns the status code associated with the property. -
getOwningURL
String getOwningURL()This method returns URL file path of the resource to which this property belongs.
-