com.xpn.xwiki.plugin.webdav.resources.views
Class RootView

java.lang.Object
  extended by com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
      extended by com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavView
          extended by com.xpn.xwiki.plugin.webdav.resources.views.RootView
All Implemented Interfaces:
XWikiDavResource, org.apache.jackrabbit.webdav.DavResource

public class RootView
extends AbstractDavView

The root of all views (entry point).

Version:
$Id: RootView.java 32446 2010-11-04 08:55:46Z vmassol $

Field Summary
 
Fields inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
locator, name, parentResource
 
Fields inherited from interface com.xpn.xwiki.plugin.webdav.resources.XWikiDavResource
BASE_URI
 
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource
COMPLIANCE_CLASS, METHODS
 
Constructor Summary
RootView()
           
 
Method Summary
 XWikiDavResource decode(java.lang.String[] tokens, int next)
          

The default decode implementation assumes the next resource in chain to be a temporary resource.

 org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
          
 
Methods inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavView
addMember, exists, getModificationTime, isCollection, move, removeMember, spool
 
Methods inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
addLockManager, addVirtualMember, alterProperties, alterProperties, clearCache, copy, equals, getCollection, getComplianceClass, getContext, getDisplayName, getFactory, getHref, getInitMembers, getLocator, getLock, getLocks, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, getVirtualMembers, getVirtualProperties, hashCode, hasLock, init, init, isLockable, isTempResource, lock, refreshLock, removeProperty, removeVirtualMember, setProperty, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootView

public RootView()
Method Detail

decode

public XWikiDavResource decode(java.lang.String[] tokens,
                               int next)
                        throws org.apache.jackrabbit.webdav.DavException

The default decode implementation assumes the next resource in chain to be a temporary resource. Sub classes should override this method to provide their own implementation.

Specified by:
decode in interface XWikiDavResource
Overrides:
decode in class AbstractDavResource
Parameters:
tokens - segmented URL.
next - next index to be processed by this resource.
Returns:
the XWikiDavResource corresponding to the given URL.
Throws:
org.apache.jackrabbit.webdav.DavException - If it's not possible to decode the URL.

getMembers

public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()



Copyright © 2004-2011 XWiki. All Rights Reserved.