org.apache.webdav.lib.properties
Class AclProperty
- Property
This interface models the <D:acl>
property, which is
defined in the WebDAV Access Control Protocol specification.
static String | TAG_NAME - The property name.
|
TAG_NAME
public static final String TAG_NAME
The property name.
AclProperty
public AclProperty(ResponseEntity response,
Element element)
Default constructor for the property.
getAces
public Ace[] getAces()
Returns the Aces present in this acl property.
- Ace[] An ace array or null when there is no ace.
getPropertyAsString
public String getPropertyAsString()
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>
returns
Tue, 05 Dec 2000 05:25:02
.
Note: Mixed content (text and xml together) will not be returned
accurately.
- getPropertyAsString in interface Property
- getPropertyAsString in interface BaseProperty
parseAce
protected Ace parseAce(Element element)
Parse an ace.
parsePrivilege
protected Privilege parsePrivilege(Element privilegeElement)
Parse a privilege element.