org.esupportail.portal.channels.CStockage.channelAction.classic
Class DefaultRenderXml
java.lang.Object
org.esupportail.portal.channels.CStockage.channelAction.AbstractDefaultRenderXml
org.esupportail.portal.channels.CStockage.channelAction.classic.DefaultRenderXml
- public class DefaultRenderXml
- extends AbstractDefaultRenderXml
Id: DefaultRenderXml.java,v1.0 24 sept. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: DefaultRenderXml
Original Author: Yohan Colmant
Get the XML to show the curent dir
Field Summary |
protected static Log |
log
Logger object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Log log
- Logger object
DefaultRenderXml
public DefaultRenderXml()
getXml
public static java.lang.StringBuffer getXml(java.util.ArrayList spaces,
Space currentSpace,
ChannelException error,
java.lang.String information,
SharingTool sharingTool)
- Return the XML representing the curent dir
- Parameters:
spaces
- the spaces into the channelcurrentSpace
- the current space usederror
- the error exceptioninformation
- this information messagesharingTool
- the sharing tool for the current directory
- Returns:
- the xml generated
getXmlAction
private static java.lang.StringBuffer getXmlAction(Space currentSpace,
SharingTool sharingTool)
throws PropertiesException
- Get the XML for the action bar
- Parameters:
currentSpace
- current channel pathsharingTool
- the sharing tool for the current directory
- Returns:
- the XML as a StringBuffer
- Throws:
PropertiesException
getXmlContent
private static java.lang.StringBuffer getXmlContent(ChannelResource[] ressources)
throws PropertiesException
- Get the XML for the content
- Parameters:
ressources
- all the ChannelWebdavResource objects
- Returns:
- the XML as a StringBuffer
- Throws:
PropertiesException