Xindice API
version 1.2m1

org.apache.xindice.webadmin
Class WebAdminManager

java.lang.Object
  extended byorg.apache.xindice.webadmin.WebAdminManager

public class WebAdminManager
extends Object

Manager class that is responsible for reading configuration, initializing all components, and dispatching calls. WebAdminManager configuration has several sections descibing different components:

Version:
$Revision: 551435 $, $Date: 2007-06-27 23:26:43 -0400 (Wed, 27 Jun 2007) $

Constructor Summary
WebAdminManager(org.w3c.dom.Element config)
           
 
Method Summary
 HtmlCollectionViewer getCollectionViewer(String id)
          Gets class that handles specific collection-level operation for WebAdmin.
static String[] getCollectionViewers()
          Gets all supported collection-level operations.
 HtmlDatabaseViewer getDatabaseViewer(String id)
          Gets class that handles specific database-level operation for WebAdmin.
static String[] getDatabaseViewers()
          Gets all supported database-level operations.
 DAVComponent getMethod(String id)
          Gets class that handles specific DAV request.
static String[] getMethods()
          Gets all supported methods.
 HtmlResourceViewer getResourceViewer(String id)
          Gets class that handles specific resource-level operation for WebAdmin.
static String[] getResourceViewers()
          Gets all supported resource-level operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAdminManager

public WebAdminManager(org.w3c.dom.Element config)
Method Detail

getMethod

public DAVComponent getMethod(String id)
Gets class that handles specific DAV request.

Parameters:
id - Method name (e.g. PROPFIND, MKCOL)
Returns:
applicable class, if it has been configured, null otherwise

getCollectionViewer

public HtmlCollectionViewer getCollectionViewer(String id)
Gets class that handles specific collection-level operation for WebAdmin.

Parameters:
id - Opration id
Returns:
applicable class, if it has been configured, null otherwise

getResourceViewer

public HtmlResourceViewer getResourceViewer(String id)
Gets class that handles specific resource-level operation for WebAdmin.

Parameters:
id - Opration id
Returns:
applicable class, if it has been configured, null otherwise

getDatabaseViewer

public HtmlDatabaseViewer getDatabaseViewer(String id)
Gets class that handles specific database-level operation for WebAdmin.

Parameters:
id - Opration id
Returns:
applicable class, if it has been configured, null otherwise

getMethods

public static String[] getMethods()
Gets all supported methods.

Returns:
Array of all supported WebDAV methods.

getDatabaseViewers

public static String[] getDatabaseViewers()
Gets all supported database-level operations.

Returns:
Array of all supported database-level operations.

getCollectionViewers

public static String[] getCollectionViewers()
Gets all supported collection-level operations.

Returns:
Array of all supported collection-level operations.

getResourceViewers

public static String[] getResourceViewers()
Gets all supported resource-level operations.

Returns:
Array of all supported resource-level operations.

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.