org.mycore.datamodel.ifs
Class MCRDirectoryXML

java.lang.Object
  extended by org.mycore.datamodel.ifs.MCRDirectoryXML

public class MCRDirectoryXML
extends Object

Version:
$Revision: 14284 $ $Date: 2008-10-30 07:59:07 +0100 (Do, 30 Okt 2008) $
Author:
Thomas Scheffler (yagee), Frank Lützenkirchen

Field Summary
(package private) static Logger LOGGER
           
protected static MCRDirectoryXML SINGLETON
           
 
Method Summary
 Document getDirectory(String requestPath, String hostAlias)
          Handles the HTTP request
protected  Document getDirectoryXML(MCRDirectory dir)
          Sends the contents of an MCRDirectory as XML data to the client
static MCRDirectoryXML getInstance()
           
 void init()
          Initializes the servlet and reads the default language and the remote host list from the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

static Logger LOGGER

SINGLETON

protected static MCRDirectoryXML SINGLETON
Method Detail

getInstance

public static MCRDirectoryXML getInstance()

getDirectoryXML

protected Document getDirectoryXML(MCRDirectory dir)
Sends the contents of an MCRDirectory as XML data to the client


getDirectory

public Document getDirectory(String requestPath,
                             String hostAlias)
Handles the HTTP request


init

public void init()
Initializes the servlet and reads the default language and the remote host list from the configuration.