KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thoughtworks > xstream > MarshallingStrategy


1 package com.thoughtworks.xstream;
2
3 import com.thoughtworks.xstream.io.HierarchicalStreamReader;
4 import com.thoughtworks.xstream.io.HierarchicalStreamWriter;
5 import com.thoughtworks.xstream.core.DefaultConverterLookup;
6 import com.thoughtworks.xstream.alias.ClassMapper;
7
8 public interface MarshallingStrategy {
9
10     Object JavaDoc unmarshal(Object JavaDoc root, HierarchicalStreamReader reader, DefaultConverterLookup converterLookup, ClassMapper classMapper);
11
12     void marshal(HierarchicalStreamWriter writer, Object JavaDoc obj, DefaultConverterLookup converterLookup, ClassMapper classMapper);
13
14 }
15
Popular Tags