public abstract class AbstractURIParser extends java.lang.Object implements IURIParser
IURIParser
. This class needs to
be extended by clients to provide variants of the uri (in case of
hierarchical uris).IURIParser
Constructor and Description |
---|
AbstractURIParser() |
Modifier and Type | Method and Description |
---|---|
void |
addURIChangeListener(IURIChangeListener listener)
This method adds a change listener
|
java.util.Collection<IURIChangeListener> |
getURIChangeListeners()
Returns the registered listeners
|
static void |
notifyChange(IURIParser parser,
java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> oldToNewURIs)
Notifies the registered listeners of changes
|
static void |
notifyChange(java.lang.String scheme,
java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> oldToNewURIs)
Notifies the registered listeners of changes
|
java.util.Collection<org.eclipse.emf.common.util.URI> |
parseURI(org.eclipse.emf.common.util.URI uri)
This method provides support for hierarchical URIs.
|
void |
removeURIChangeListener(IURIChangeListener listener)
This method removes a change listener
|
public java.util.Collection<org.eclipse.emf.common.util.URI> parseURI(org.eclipse.emf.common.util.URI uri)
IURIParser
parseURI
in interface IURIParser
uri
- Th URI to parse.public final void addURIChangeListener(IURIChangeListener listener)
IURIParser
addURIChangeListener
in interface IURIParser
listener
- the change listenerpublic static final void notifyChange(IURIParser parser, java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> oldToNewURIs)
public static final void notifyChange(java.lang.String scheme, java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> oldToNewURIs)
public final void removeURIChangeListener(IURIChangeListener listener)
IURIParser
removeURIChangeListener
in interface IURIParser
listener
- the change listenerpublic final java.util.Collection<IURIChangeListener> getURIChangeListeners()
IURIParser
getURIChangeListeners
in interface IURIParser