[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    Re: exists()?
From:       Neil Deakin <ndeakin () sympatico ! ca>
Date:       2003-07-22 19:10:57
[Download RAW message or body]

If there are no namespace properties to check, then it doesn't exist in 
the datasource.

You could check this by calling ArcLabelsIn and ArcLabelsOut and if 
either enumerator returns true for hasMoreElements, then the resource is 
used in the datasource.

/ Neil

rvj wrote:
> what is the most efficient method of determining if a resource exists in a
> ds (i.e. where there are no namespace properties to check) ?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic