org.apache.webdav.lib.properties
Interface ResourceTypeProperty

All Superinterfaces:
Property
All Known Implementing Classes:
XMLResponseMethodBase.ResourceTypePropertyImpl

public interface ResourceTypeProperty
extends Property

An interface that describes a standard Resource Type property (as defined by the WebDAV specification).

Author:
B.C. Holmes

Field Summary
static java.lang.String TAG_NAME
          The property name.
 
Method Summary
 boolean isCollection()
          Returns true if the resource is a collection.
 
Methods inherited from interface org.apache.webdav.lib.Property
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getPropertyAsString, getStatusCode
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
The property name.
Method Detail

isCollection

public boolean isCollection()
Returns true if the resource is a collection. A collection is indicated by a response like this:
 <D:resourcetype><D:collection/></D:resourcetype>