|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.webdav.client.WebDAVFactory
public class WebDAVFactory
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Field Summary | |
|---|---|
static IContextFactory |
contextFactory
|
static IDocumentFactory |
documentFactory
|
static ILocatorFactory |
locatorFactory
|
| Constructor Summary | |
|---|---|
WebDAVFactory()
WebDavFactory constructor comment. |
|
| Method Summary | |
|---|---|
IContext |
newContext()
Create a new empty context. |
IContext |
newContext(IContext baseContext)
Creates a new context based on the given context. |
Document |
newDocument()
|
ILocator |
newLocator(String resourceURL)
Returns a locator with the given resource URL that (implicitly) uses the standard way of resolving resource URLs. |
ILocator |
newLocator(String resourceURL,
String label)
Answer a new resource locator that identifies a particular server resource by it's URL and label. |
QualifiedName |
newQualifiedName(String qualifier,
String localName)
|
ILocator |
newStableLocator(String resourceURL)
Returns a locator given a stable resource URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static IContextFactory contextFactory
public static IDocumentFactory documentFactory
public static ILocatorFactory locatorFactory
| Constructor Detail |
|---|
public WebDAVFactory()
| Method Detail |
|---|
public IContext newContext()
IContextFactory
newContext in interface IContextFactoryContext.public IContext newContext(IContext baseContext)
IContextFactoryThe newly created context acts like an acetate layer over the base context: any changes made to the new context are confined to that layer and do not affect the base context; but changes to the base context show through to the new context unless masked by another change made to the new context (c.f. properties).
newContext in interface IContextFactorybaseContext - the default values for the new context.
Context.public Document newDocument()
newDocument in interface IDocumentFactorypublic ILocator newLocator(String resourceURL)
ILocatorFactoryVersion-unaware clients use this kind of locator exclusively.
newLocator in interface ILocatorFactoryresourceURL - the URL identifier of the resource as a
String.
public ILocator newLocator(String resourceURL,
String label)
newLocator in interface ILocatorFactoryresourceURL - the URL of the resource.label - the version label of the resource.
public QualifiedName newQualifiedName(String qualifier,
String localName)
public ILocator newStableLocator(String resourceURL)
ILocatorFactoryThis kind of locator is used only by version-aware clients. The stable URL is generated by the server. Clients may reliably store the URL and use it to identify the same resource in subsequent operations. Resources identified by a stable URL cannot be moved but they may be deleted. The stable URL cannot be bound to a different resource by the client or server).
Note that locators with stable URLs cannot have also have a label.
newStableLocator in interface ILocatorFactoryresourceURL - the stable URL to a versioning resource
as a String.
|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||