|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CWebdav.renderXml.RenderXmlShowCurrentDir
Id: RenderXmlShowCurrentDir.java,v1.0 15 avr. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: RenderXmlShowCurrentDir
Original Author: Yohan Colmant
Get the XML to show the curent dir
Constructor Summary | |
RenderXmlShowCurrentDir()
|
Method Summary | |
static java.lang.StringBuffer |
getXml(DavAccess access,
java.util.ArrayList spaces,
Space currentSpace,
java.lang.String targetDirectory,
WebdavException error,
java.lang.String information,
Config config)
Return the XML representing the curent dir |
static java.lang.StringBuffer |
getXml(DavAccess access,
java.util.ArrayList spaces,
Space currentSpace,
WebdavException error,
java.lang.String information,
Config config)
Return the XML representing the curent dir |
private static java.lang.StringBuffer |
getXmlAction(Config config)
Get the XML for the action bar |
private static java.lang.StringBuffer |
getXmlContent(ChannelWebdavResource[] ressources,
Config config)
Get the XML for the content |
private static java.lang.StringBuffer |
getXmlError(WebdavException error,
int internalError)
Get the XML for the error bar |
private static java.lang.StringBuffer |
getXmlInformation(java.lang.String information)
Get the XML for the info bar |
private static java.lang.StringBuffer |
getXmlNavigation(java.util.ArrayList spaces,
Space currentSpace)
Get the XML for the navigation bar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RenderXmlShowCurrentDir()
Method Detail |
public static java.lang.StringBuffer getXml(DavAccess access, java.util.ArrayList spaces, Space currentSpace, WebdavException error, java.lang.String information, Config config)
access
- the object used to access the webdavspaces
- the visibles spacescurrentSpace
- the current space usederror
- the error exceptioninformation
- this information messageconfig
- the Config object for the Channel
public static java.lang.StringBuffer getXml(DavAccess access, java.util.ArrayList spaces, Space currentSpace, java.lang.String targetDirectory, WebdavException error, java.lang.String information, Config config)
access
- the object used to access the webdavspaces
- the visibles spacescurrentSpace
- the current space usedtargetDirectory
- the directory we want to showerror
- the error exceptioninformation
- this information messageconfig
- the Config object for the Channel
private static java.lang.StringBuffer getXmlNavigation(java.util.ArrayList spaces, Space currentSpace)
spaces
- the visibles spacescurrentSpace
- the current space used
private static java.lang.StringBuffer getXmlError(WebdavException error, int internalError)
error
- the errorinternalError
- if there is an internal error
private static java.lang.StringBuffer getXmlInformation(java.lang.String information)
information
- the information message code
private static java.lang.StringBuffer getXmlAction(Config config) throws PropertiesException
config
- the Config object for the Channel
PropertiesException
private static java.lang.StringBuffer getXmlContent(ChannelWebdavResource[] ressources, Config config) throws PropertiesException
ressources
- all the ChannelWebdavResource objectsconfig
- the Config object for the Channel
PropertiesException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |