public interface CDOViewProvider
CDOView
on a target repository, defined by a URI. A regular expression and the
priority are used to determine the most suitable provider.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_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) |
CDOView |
getView(URI uri,
ResourceSet resourceSet)
Receives a URI and returns an opened
CDOView against the repository. |
boolean |
matchesRegex(URI uri)
Checks if the URI matches with the regular expression of this provider
|
static final int DEFAULT_PRIORITY
int getPriority()
CDOViewProvider
that
match the same repository URI.String getRegex()
boolean matchesRegex(URI uri)
CDOView getView(URI uri, ResourceSet resourceSet)
CDOView
against the repository. The implementer is responsible to
do the UUID to physical host map in case necessary.CDOView
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.