com.caucho.hessian.io
Class AnnotationDeserializer
java.lang.Object
com.caucho.hessian.io.AbstractDeserializer
com.caucho.hessian.io.AbstractMapDeserializer
com.caucho.hessian.io.AnnotationDeserializer
- All Implemented Interfaces:
- Deserializer
public class AnnotationDeserializer
- extends AbstractMapDeserializer
Deserializing a java annotation for known object types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDeserializer
public AnnotationDeserializer(Class annType)
getType
public Class getType()
- Specified by:
getType in interface Deserializer- Overrides:
getType in class AbstractMapDeserializer
readMap
public Object readMap(AbstractHessianInput in)
throws IOException
- Specified by:
readMap in interface Deserializer- Overrides:
readMap in class AbstractDeserializer
- Throws:
IOException
readObject
public Object readObject(AbstractHessianInput in,
Object[] fields)
throws IOException
- Description copied from class:
AbstractDeserializer
- Reads an object instance from the input stream
- Specified by:
readObject in interface Deserializer- Overrides:
readObject in class AbstractDeserializer
- Parameters:
in - the input streamfields - the deserializer's own field marshal
- Returns:
- the new object
- Throws:
IOException
Copyright © 2013. All Rights Reserved.