[Yanel-dev] exists() method for Node interface

Josias Thöny josias.thoeny at wyona.com
Tue Feb 13 15:03:28 CET 2007


Michael Wechner wrote:
> Hi
> 
> It seems to me that we should add an "exists" method to 
> /org/wyona/yarep/core/Node.java
> 
> WDYT?

No, because the Repository already has a method existsNode(path).
If you have an instance of class Node, it means that it exists. You 
should not be able to get an instance of a node which does not exist.

hth,
Josias

> 
> Cheers
> 
> Michi
> 




More information about the Yanel-development mailing list