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