org.umu.macow.pdp.jena
Class CIMLocator

java.lang.Object
  extended by org.umu.macow.pdp.jena.CIMLocator
All Implemented Interfaces:
com.hp.hpl.jena.util.Locator

public class CIMLocator
extends java.lang.Object
implements com.hp.hpl.jena.util.Locator

This utility class is used to implements a localization for the ontology associated to a given url inside of the local disk

Since:
2.0

Constructor Summary
CIMLocator()
           
 
Method Summary
 java.lang.String getName()
           
 com.hp.hpl.jena.util.TypedStream open(java.lang.String filenameOrURI)
          This method retrieves an strem of the ontology description associated to the given url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIMLocator

public CIMLocator()
Method Detail

open

public com.hp.hpl.jena.util.TypedStream open(java.lang.String filenameOrURI)
This method retrieves an strem of the ontology description associated to the given url.

Specified by:
open in interface com.hp.hpl.jena.util.Locator
Parameters:
filenameOrURI - This is the given URL
Returns:
This is the ontology description assocaited to the given url.

getName

public java.lang.String getName()
Specified by:
getName in interface com.hp.hpl.jena.util.Locator