Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.misc.xstream.SPathConverter Class Reference

Inherits Converter.

List of all members.

Public Member Functions

 SPathConverter (ISarosSession session, IPathFactory pathFactory)
boolean canConvert (Class clazz)
void marshal (Object value, HierarchicalStreamWriter writer, MarshallingContext context)
Object unmarshal (HierarchicalStreamReader reader, UnmarshallingContext context)

Detailed Description

Converts session- and IDE-dependent SPath to session- and IDE-independent XML representations, and vice versa.

Example: The XML representation of an SPath for a IProject project} with id "projA" and a IPath relative path} "src/Main.java":

 <SPath i="projA" p="src/Main.java" />
 

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.misc.xstream.SPathConverter.SPathConverter ( ISarosSession  session,
IPathFactory  pathFactory 
)

Member Function Documentation

boolean de.fu_berlin.inf.dpp.misc.xstream.SPathConverter.canConvert ( Class  clazz)
void de.fu_berlin.inf.dpp.misc.xstream.SPathConverter.marshal ( Object  value,
HierarchicalStreamWriter  writer,
MarshallingContext  context 
)
Object de.fu_berlin.inf.dpp.misc.xstream.SPathConverter.unmarshal ( HierarchicalStreamReader  reader,
UnmarshallingContext  context 
)
 All Classes Namespaces Files Functions Variables Enumerations