eRqlEngine API documentation - http://www.wleklinski.de/rdf/

gr.forth.ics.vrp.corevrp.model
Class Namespace

java.lang.Object
  extended bygr.forth.ics.vrp.corevrp.model.Namespace

public class Namespace
extends Object

Version:
2.5 (30 Januar 2003)
Author:
Karsten Tolle & Sofia Alexaki

Constructor Summary
Namespace(String uri)
          Create a namespace
 
Method Summary
 void addName(Resource res)
          Test if the resource is defined in the NS
 boolean contains(Resource res)
          Test if the resource is defined in the NS
 HashSet getNames()
           
 String getURI()
          Returns the URI of the namespace
static boolean isDefinedINNamespace(Resource res, HashSet selectedNS)
          Indicates if the resource is defined in one of the selected namespace(s). param res The resource reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(String uri)
Create a namespace

Method Detail

getURI

public String getURI()
Returns the URI of the namespace


contains

public boolean contains(Resource res)
Test if the resource is defined in the NS


addName

public void addName(Resource res)
Test if the resource is defined in the NS


getNames

public HashSet getNames()

isDefinedINNamespace

public static boolean isDefinedINNamespace(Resource res,
                                           HashSet selectedNS)
Indicates if the resource is defined in one of the selected namespace(s). param res The resource reference

Returns:
True if the resource is defined in one of the selected namespace(s), false otherwise.

eRqlEngine API documentation - http://www.wleklinski.de/rdf/