|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.esupportail.portal.channels.CStockage.channelAction.AbstractDefaultRenderXml
Id: AbstractDefaultRenderXml.java,v 1.0 24 sept. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: AbstractDefaultRenderXml Original Author: Yohan Colmant The default render xml for the channel. It defines the generic bars likes navigation
| Constructor Summary | |
AbstractDefaultRenderXml()
|
|
| Method Summary | |
protected static java.lang.StringBuffer |
getLastUpdateDateXml(java.util.Calendar lastModified)
Return the xml used to set the last update date |
protected static java.lang.String |
getLengthFormat(long contentLength)
Return the good length format to print |
static java.lang.StringBuffer |
getXmlError(ChannelException error,
int internalError)
Get the XML for the error bar |
static java.lang.StringBuffer |
getXmlForPasswordSetting(java.util.ArrayList spaces,
Space currentSpace,
ChannelException error)
Return the XML representing the curent dir |
static java.lang.StringBuffer |
getXmlInformation(java.lang.String information)
Get the XML for the info bar |
protected static java.lang.StringBuffer |
getXmlNavigation(java.util.ArrayList spaces,
Space currentSpace)
Get the XML for the navigation bar |
protected static java.lang.StringBuffer |
getXmlPassword(java.lang.String login,
java.lang.String password,
boolean loginReadOnly)
Get the XML for the password bar |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDefaultRenderXml()
| Method Detail |
protected static java.lang.StringBuffer getXmlNavigation(java.util.ArrayList spaces,
Space currentSpace)
throws PropertiesException
spaces - the visibles spacescurrentSpace - the current space used
PropertiesException
public static java.lang.StringBuffer getXmlError(ChannelException error,
int internalError)
error - the errorinternalError - if there is an internal error
public static java.lang.StringBuffer getXmlInformation(java.lang.String information)
information - the information message code
public static java.lang.StringBuffer getXmlForPasswordSetting(java.util.ArrayList spaces,
Space currentSpace,
ChannelException error)
throws PropertiesException
spaces - the default spacescurrentSpace - the current space usederror - the error exception
PropertiesException
protected static java.lang.StringBuffer getXmlPassword(java.lang.String login,
java.lang.String password,
boolean loginReadOnly)
login - the user login usedpassword - the user password used
protected static java.lang.String getLengthFormat(long contentLength)
contentLength - the content length
protected static java.lang.StringBuffer getLastUpdateDateXml(java.util.Calendar lastModified)
lastModified - the last update date
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||