org.apache.webdav.lib.properties
Class PrincipalCollectionSetProperty
- Property
public class PrincipalCollectionSetProperty
This class models the <D:principal-collection-set> property, which is
defined in the WebDAV Access Control Protocol specification.
static String | TAG_NAME- The property name.
|
String[] | getHrefs()- Returns the Hrefs present in this principal-collection-set property.
|
String | getPropertyAsString()- This method returns the value of the property.
|
TAG_NAME
public static final String TAG_NAME
The property name.
PrincipalCollectionSetProperty
public PrincipalCollectionSetProperty(ResponseEntity response,
Element element) Default constructor for the property.
getHrefs
public String[] getHrefs()
Returns the Hrefs present in this principal-collection-set property.
- String[] A href array or null when there are no href.
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