Package org.apache.webdav.lib.properties
Class CurrentUserPrivilegeSetProperty
- java.lang.Object
-
- org.apache.webdav.lib.BaseProperty
-
- org.apache.webdav.lib.properties.CurrentUserPrivilegeSetProperty
-
- All Implemented Interfaces:
Property
public class CurrentUserPrivilegeSetProperty extends BaseProperty
Title: CurrentUserPrivilegeSetProperty.java Description: Company: SpeedLegal Holdings Inc.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_NAME
The property name.-
Fields inherited from class org.apache.webdav.lib.BaseProperty
element, response
-
-
Constructor Summary
Constructors Constructor Description CurrentUserPrivilegeSetProperty(ResponseEntity response, org.w3c.dom.Element element)
Default constructor for the property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPropertyAsString()
This method returns the value of the property.boolean
hasReadAccess()
boolean
hasReadWriteAccess()
boolean
hasWriteAccess()
-
Methods inherited from class org.apache.webdav.lib.BaseProperty
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode, toString
-
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
The property name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CurrentUserPrivilegeSetProperty
public CurrentUserPrivilegeSetProperty(ResponseEntity response, org.w3c.dom.Element element)
Default constructor for the property.
-
-
Method Detail
-
hasReadAccess
public boolean hasReadAccess()
-
hasWriteAccess
public boolean hasWriteAccess()
-
hasReadWriteAccess
public boolean hasReadWriteAccess()
-
getPropertyAsString
public java.lang.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>
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
-
-