1 7 package org.jboss.test.remoting.marshall.dynamic.local; 8 9 import java.io.IOException ; 10 import java.io.OutputStream ; 11 import org.jboss.remoting.marshal.serializable.SerializableMarshaller; 12 13 16 public class TestMarshaller extends SerializableMarshaller 17 { 18 public final static String DATATYPE = "test"; 19 20 22 30 public void write(Object dataObject, OutputStream output) throws IOException  31 { 32 TestWrapper wrapper = new TestWrapper(dataObject); 33 super.write(wrapper, output); 34 } 35 36 public String getDataType() 37 { 38 return DATATYPE; 39 } 40 } | Popular Tags |