Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Inherits Converter.
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) |
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" />
de.fu_berlin.inf.dpp.misc.xstream.SPathConverter.SPathConverter | ( | ISarosSession | session, |
IPathFactory | pathFactory | ||
) |
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 | ||
) |