1 48 49 package com.caucho.hessian.io; 50 51 import java.io.IOException ; 52 53 56 abstract public class AbstractDeserializer implements Deserializer { 57 public Class getType() 58 { 59 return Object .class; 60 } 61 62 public Object readObject(AbstractHessianInput in) 63 throws IOException 64 { 65 throw new UnsupportedOperationException (String.valueOf(this)); 66 } 67 68 public Object readList(AbstractHessianInput in, int length) 69 throws IOException 70 { 71 throw new UnsupportedOperationException (String.valueOf(this)); 72 } 73 74 public Object readLengthList(AbstractHessianInput in, int length) 75 throws IOException 76 { 77 throw new UnsupportedOperationException (String.valueOf(this)); 78 } 79 80 public Object readMap(AbstractHessianInput in) 81 throws IOException 82 { 83 throw new UnsupportedOperationException (String.valueOf(this)); 84 } 85 86 public Object readObject(AbstractHessianInput in, String []fieldNames) 87 throws IOException 88 { 89 throw new UnsupportedOperationException (String.valueOf(this)); 90 } 91 } 92 | Popular Tags |