[Yanel-dev] New published interface ""WebDAVable"

Michael Wechner michael.wechner at wyona.com
Mon Jan 8 17:44:42 CET 2007


Michael Wechner wrote:

> Michael Wechner wrote:
>
>> Hi
>>
>> In order to implement WebDAV, we need an interface with methods like
>>
>> isCollection()
>> isResource()
>> getChildren()
>>
>> getSize()
>> getDisplayName()
>>
>> I wonder how we best enhance the current interfaces
>>
>> http://yanel.wyona.org/javadoc/org/wyona/yanel/core/api/attributes/package-summary.html 
>>
>>
>> resp. introduce a new one?
>
>
>
> the following names come to my mind:
>
> - PropFindable
> - Browsable
> - Explorable
> - Traversable (which might be a more appropriate name replacement for 
> DirectoryResource: TraversableResource. Also NodeResource instead 
> FileResource)



I think Traversable would be best with the following methods:

isResource()
isCollection()
getChildren()

Cheers

Michi

>
> WDYT?
>
> Thanks
>
> Michi
>
>>
>> WDYT?
>>
>> Thanks
>>
>> Michi
>>
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list