| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wink.webdav.server.WebDAVResponseBuilder.PropertyHandler
org.apache.wink.webdav.server.WebDAVResponseBuilder.CollectionPropertyHandler
public static class WebDAVResponseBuilder.CollectionPropertyHandler
Extends the WebDAVResponseBuilder.PropertyHandler to provide additional data for the
 creation of multistatus responses for collections (feeds).
| Constructor Summary | |
|---|---|
| WebDAVResponseBuilder.CollectionPropertyHandler()Constructs a CollectionPropertyProvider that is also the property handler for the entries | |
| WebDAVResponseBuilder.CollectionPropertyHandler(WebDAVResponseBuilder.PropertyHandler entryPropertyHandler)Constructor accepting another WebDAVResponseBuilder.PropertyHandlerto provide
 properties for the entries in the collection. | |
| Method Summary | |
|---|---|
|  WebDAVResponseBuilder.PropertyHandler | getEntryPropertyHandler()Get the PropertyHandler that is used to set properties for the entries in the collection | 
|  SyndFeed | getSubCollection(SyndEntry entry)Get the feed that this entry represents. | 
|  java.util.List<SyndFeed> | getSubCollections(WebDAVResponseBuilder builder,
                  SyndFeed feed)Gets the list of sub-collection feeds for a given feed. | 
|  boolean | isSubCollection(SyndEntry entry)Specifies if an entry actually represents a feed. | 
|  void | setEntryPropertyHandler(WebDAVResponseBuilder.PropertyHandler entryPropertyHandler)Set the PropertyHandler that is used to set properties for the entries in the collection | 
| Methods inherited from class org.apache.wink.webdav.server.WebDAVResponseBuilder.PropertyHandler | 
|---|
| setAllPropertyNames, setPropertyValue | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WebDAVResponseBuilder.CollectionPropertyHandler()
public WebDAVResponseBuilder.CollectionPropertyHandler(WebDAVResponseBuilder.PropertyHandler entryPropertyHandler)
WebDAVResponseBuilder.PropertyHandler to provide
 properties for the entries in the collection.
entryPropertyHandler - | Method Detail | 
|---|
public java.util.List<SyndFeed> getSubCollections(WebDAVResponseBuilder builder,
                                                  SyndFeed feed)
null
builder - the current WebDAVResponseBuilder which can be used to
            obtain context informationfeed - the feed to obtain the sub collections from
public boolean isSubCollection(SyndEntry entry)
false
entry - the entry
true if the entry is a sub-collection, otherwise
         falsepublic SyndFeed getSubCollection(SyndEntry entry)
#isEntrySubCollection(DocumentResource) method returns
 true for the given entry. The default implementation
 returns null
entry - the entry that represents a feed
public final WebDAVResponseBuilder.PropertyHandler getEntryPropertyHandler()
public final void setEntryPropertyHandler(WebDAVResponseBuilder.PropertyHandler entryPropertyHandler)
entryPropertyHandler - the entry PropertyHandler| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||