jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: How can i find if an Path.Element is a Node or a Property?
Date Fri, 11 Sep 2009 14:47:08 GMT
On Fri, Sep 11, 2009 at 10:01, Mihai Vasilache
<mihai_vasilache@yahoo.com> wrote:
> The question is. Can i found that the last element from Node.getElements() is a Property
or a Node?

that's not possible. a path cannot tell whether it references a
property or a node. It's similar to a file system path where you
cannot tell either if it is a file or a folder.

regards
 marcel

Mime
View raw message