org.esupportail.portal.channels.CStockage.channelAction.classic.sharing
Class SpaceTool

java.lang.Object
  extended byorg.esupportail.portal.channels.CStockage.channelAction.classic.sharing.SpaceTool

public class SpaceTool
extends java.lang.Object

Id: SpaceTool.java,v 1.0 5 janv. 2005 Copyright (c) 2005 Esup Portail (www.esup-portail.org) Classes: SpaceTool Original Author: Yohan Colmant Object used to manage a Space while the sharing of spaces by users


Field Summary
protected static Log log
          Logger object
private  Space space
          The Space we are using
 
Constructor Summary
SpaceTool(java.lang.String stringToParse)
          Constructor
 
Method Summary
 Space getSpace()
          return the space
static java.lang.String getXmlFromSpace(Space space)
          Get an xml form of a space
 void setSpace(Space space)
          add a new space to the list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Log log
Logger object


space

private Space space
The Space we are using

Constructor Detail

SpaceTool

public SpaceTool(java.lang.String stringToParse)
Constructor

Parameters:
stringToParse - the String we want to parse
Method Detail

getSpace

public Space getSpace()
return the space

Returns:
the space

setSpace

public void setSpace(Space space)
add a new space to the list

Parameters:
space - the space to add

getXmlFromSpace

public static java.lang.String getXmlFromSpace(Space space)
                                        throws PropertiesException
Get an xml form of a space

Parameters:
space - the Space we want to export into xml
Returns:
an xml form of a space
Throws:
PropertiesException