You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by SomchaiDion <ls...@k3.dion.ne.jp> on 2003/06/23 00:07:46 UTC

NodeRevisionDescriptor constant meaning

Dear sir,
    I try to write an application using Slide API. Now, I have no idea how
can I identify which Slide URI is a file or folder. I think, the
NodeRevisionDescriptor can use for this. But, I found many prperties for
type, such as, COLLECTION_TYPE, RESOURCE_TYPE, TYPE.
    Could you guide me please.

Thank you,
Somchai


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: NodeRevisionDescriptor constant meaning

Posted by Martin Holz <ho...@fiz-chemie.de>.
"SomchaiDion" <ls...@k3.dion.ne.jp> writes:

> Dear sir,
>     I try to write an application using Slide API. Now, I have no idea how
> can I identify which Slide URI is a file or folder. I think, the
> NodeRevisionDescriptor can use for this. But, I found many prperties for
> type, such as, COLLECTION_TYPE, RESOURCE_TYPE, TYPE.
>     Could you guide me please.

At slide API level there is no real destinction between collections and 
other nodes. A collection has  a noneempty set of children. 

At the WebDAV level the property DAV:resourcetype has the
value  DAV:collection, if it is a collection.

 




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org