Class AclProperty

java.lang.Object
org.apache.webdav.lib.BaseProperty
org.apache.webdav.lib.properties.AclProperty
All Implemented Interfaces:
Property

public class AclProperty extends BaseProperty
This interface models the <D:acl> property, which is defined in the WebDAV Access Control Protocol specification.
Version:
$Revision: 1.5 $
  • Field Details

  • Constructor Details

    • AclProperty

      public AclProperty(ResponseEntity response, Element element)
      Default constructor for the property.
  • Method Details

    • getAces

      public Ace[] getAces()
      Returns the Aces present in this acl property.
      Returns:
      Ace[] An ace array or null when there is no ace.
    • parseAce

      protected Ace parseAce(Element element)
      Parse an ace.
    • parsePrivilege

      protected Privilege parsePrivilege(Element privilegeElement)
      Parse a privilege element.
    • getPropertyAsString

      public String 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> returns Tue, 05 Dec 2000 05:25:02.
      Note: Mixed content (text and xml together) will not be returned accurately.
      Specified by:
      getPropertyAsString in interface Property
      Overrides:
      getPropertyAsString in class BaseProperty