Package org.apache.webdav.lib.properties
Class AclProperty
java.lang.Object
org.apache.webdav.lib.BaseProperty
org.apache.webdav.lib.properties.AclProperty
- All Implemented Interfaces:
Property
This interface models the
<D:acl>
property, which is
defined in the WebDAV Access Control Protocol specification.- Version:
- $Revision: 1.5 $
-
Field Summary
FieldsFields inherited from class org.apache.webdav.lib.BaseProperty
element, response
-
Constructor Summary
ConstructorsConstructorDescriptionAclProperty
(ResponseEntity response, Element element) Default constructor for the property. -
Method Summary
Methods inherited from class org.apache.webdav.lib.BaseProperty
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode, toString
-
Field Details
-
TAG_NAME
The property name.- See Also:
-
-
Constructor Details
-
AclProperty
Default constructor for the property.
-
-
Method Details
-
getAces
Returns the Aces present in this acl property.- Returns:
- Ace[] An ace array or null when there is no ace.
-
parseAce
Parse an ace. -
parsePrivilege
Parse a privilege element. -
getPropertyAsString
Description copied from class:BaseProperty
This method returns the value 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
.
Note: Mixed content (text and xml together) will not be returned accurately.- Specified by:
getPropertyAsString
in interfaceProperty
- Overrides:
getPropertyAsString
in classBaseProperty
-