|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
public class URIHandlerImpl
This is the basic implementation of the URIHandler interface.
Implementations should extend this class to implement a specialized URI handler.
| Nested Class Summary | |
|---|---|
static class |
URIHandlerImpl.PlatformSchemeAware
|
| Field Summary | |
|---|---|
protected URI |
baseURI
|
protected boolean |
resolve
|
| Constructor Summary | |
|---|---|
URIHandlerImpl()
|
|
| Method Summary | |
|---|---|
URI |
deresolve(URI uri)
Returns the URI deresolved against the base URI. |
URI |
resolve(URI uri)
Returns the URI resolved against the base URI. |
void |
setBaseURI(URI uri)
Sets base URI used by the handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected URI baseURI
protected boolean resolve
| Constructor Detail |
|---|
public URIHandlerImpl()
| Method Detail |
|---|
public void setBaseURI(URI uri)
XMLResource.URIHandler
setBaseURI in interface XMLResource.URIHandleruri - the new base URI.public URI resolve(URI uri)
XMLResource.URIHandlerresolved against the base URI.
resolve in interface XMLResource.URIHandleruri - the URI to resolve.
URI.resolve(URI)public URI deresolve(URI uri)
XMLResource.URIHandlerderesolved against the base URI.
deresolve in interface XMLResource.URIHandleruri - the URI to resolve.
URI.deresolve(URI)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||