
public abstract class AbstractCDOViewProvider extends Object implements CDOViewProvider
DEFAULT_PRIORITY| Constructor and Description |
|---|
AbstractCDOViewProvider() |
AbstractCDOViewProvider(String regex) |
AbstractCDOViewProvider(String regex,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Returns the priority of this provider.
|
String |
getRegex()
Returns the regular expression that determines if the provider can handle certain URI
|
URI |
getResourceURI(CDOView view,
String path)
Must be overwritten for non-canonical URI formats!
|
boolean |
matchesRegex(URI uri)
Checks if the URI matches with the regular expression of this provider
|
void |
setPriority(int priority) |
void |
setRegex(String regex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetViewpublic AbstractCDOViewProvider()
public AbstractCDOViewProvider(String regex, int priority)
public AbstractCDOViewProvider(String regex)
public int getPriority()
CDOViewProviderCDOViewProvider that
match the same repository URI.getPriority in interface CDOViewProviderpublic void setPriority(int priority)
public String getRegex()
CDOViewProvidergetRegex in interface CDOViewProviderpublic void setRegex(String regex)
public boolean matchesRegex(URI uri)
CDOViewProvidermatchesRegex in interface CDOViewProviderpublic URI getResourceURI(CDOView view, String path)
getResourceURI in interface CDOViewProviderCopyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.