|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.webdav.lib.BaseProperty
org.apache.webdav.lib.properties.ResourceTypeProperty
public class ResourceTypeProperty
An interface that describes a standard Resource Type property (as defined by the WebDAV specification).
Field Summary | |
---|---|
static java.lang.String |
TAG_COLLECTION
The property collection tag. |
static java.lang.String |
TAG_NAME
The property name. |
static java.lang.String |
TAG_PRINCIPAL
|
Fields inherited from class org.apache.webdav.lib.BaseProperty |
---|
element, response |
Constructor Summary | |
---|---|
ResourceTypeProperty(ResponseEntity response,
org.w3c.dom.Element element)
Default constructor for the property. |
Method Summary | |
---|---|
java.lang.String |
getPropertyAsString()
This method returns the value of the property. |
boolean |
isCollection()
Returns true if the resource is a collection. |
boolean |
isPrincipal()
|
Methods inherited from class org.apache.webdav.lib.BaseProperty |
---|
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_NAME
public static final java.lang.String TAG_COLLECTION
public static final java.lang.String TAG_PRINCIPAL
Constructor Detail |
---|
public ResourceTypeProperty(ResponseEntity response, org.w3c.dom.Element element)
Method Detail |
---|
public boolean isCollection()
<D:resourcetype><D:collection/></D:resourcetype>
public boolean isPrincipal()
public java.lang.String getPropertyAsString()
getPropertyAsString
in interface Property
getPropertyAsString
in class BaseProperty
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |