org.eclipse.datatools.connectivity.oda.util
Class ResourceIdentifiers.URILocator
java.lang.Object
   org.eclipse.datatools.connectivity.oda.util.ResourceIdentifiers.URILocator
org.eclipse.datatools.connectivity.oda.util.ResourceIdentifiers.URILocator
- Enclosing class:
- ResourceIdentifiers
- public class ResourceIdentifiers.URILocator 
- extends java.lang.Object
The default locator of a resource URI relative to a specified base URI.
 An ODA consumer application may extend to customize how it proposes to
 resolve a relative URI reference against its resource base URI.
 An ODA data provider may use the locator to resolve a resource's relative URI;
 or if the application-dependent base URI is well defined, get the base URI 
 for its own processing.
 
| Method Summary | 
|  java.net.URI | getBaseURI()
 | 
|  java.net.URI | resolve(java.lang.String str)Resolves the specified string to a URI.
 | 
|  java.net.URI | resolve(java.net.URI uri)
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ResourceIdentifiers.URILocator
public ResourceIdentifiers.URILocator(java.net.URI baseURI)
getBaseURI
public java.net.URI getBaseURI()
- 
 
resolve
public java.net.URI resolve(java.net.URI uri)
- 
 
resolve
public java.net.URI resolve(java.lang.String str)
- Resolves the specified string to a URI.
 
- 
- Parameters:
- str- the string to be encoded and parsed into a URI
- Returns:
- resolved URI; may be null if not able to resolve
- Since:
- 3.3.2 (DTP 1.9)