org.esupportail.portal.channels.CStockage.channelAction.injac
Class DefaultRenderXml
java.lang.Object
org.esupportail.portal.channels.CStockage.channelAction.AbstractDefaultRenderXml
org.esupportail.portal.channels.CStockage.channelAction.injac.DefaultRenderXml
- public class DefaultRenderXml
- extends AbstractDefaultRenderXml
Id: DefaultRenderXml.java,v 1.0 27 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 |
Method Summary |
static java.lang.StringBuffer |
getXml(java.util.ArrayList spaces,
Space currentSpace,
ChannelException error,
java.lang.String information,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
Return the XML representing the curent dir |
private static java.lang.StringBuffer |
getXmlAction(Space currentSpace,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
Get the XML for the action bar |
private static java.lang.StringBuffer |
getXmlContent(Space currentSpace,
ChannelResource[] ressources,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
Get the XML for the content |
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,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
- Return the XML representing the curent dir
- Parameters:
spaces
- the spaces listcurrentSpace
- the current space usederror
- the error exceptioninformation
- this information messageuserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
-
- Returns:
- the xml generated
getXmlAction
private static java.lang.StringBuffer getXmlAction(Space currentSpace,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
throws PropertiesException,
ServerException
- Get the XML for the action bar
- Parameters:
currentSpace
- the current space useduserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
- the current directory properties
- Returns:
- the XML as a StringBuffer
- Throws:
PropertiesException
ServerException
getXmlContent
private static java.lang.StringBuffer getXmlContent(Space currentSpace,
ChannelResource[] ressources,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
throws PropertiesException,
ServerException
- Get the XML for the content
- Parameters:
currentSpace
- the current space usedressources
- all the ChannelWebdavResource objectsuserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
- the current directory properties
- Returns:
- the XML as a StringBuffer
- Throws:
PropertiesException
ServerException