org.fuin.serialver4j.hessian
Class BaseDeserializer
java.lang.Object
com.caucho.hessian.io.AbstractDeserializer
org.fuin.serialver4j.hessian.BaseDeserializer
- All Implemented Interfaces:
- com.caucho.hessian.io.Deserializer
- Direct Known Subclasses:
- UUIDDeserializer
public abstract class BaseDeserializer
- extends com.caucho.hessian.io.AbstractDeserializer
Base class for deserializing objects that support conversion into a string
and back.
| Methods inherited from class com.caucho.hessian.io.AbstractDeserializer |
codeName, error, readLengthList, readList, readObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDeserializer
public BaseDeserializer()
readMap
public final Object readMap(com.caucho.hessian.io.AbstractHessianInput in)
throws IOException
- Specified by:
readMap in interface com.caucho.hessian.io.Deserializer- Overrides:
readMap in class com.caucho.hessian.io.AbstractDeserializer
- Throws:
IOException
readObject
public final Object readObject(com.caucho.hessian.io.AbstractHessianInput in,
String[] fieldNames)
throws IOException
- Specified by:
readObject in interface com.caucho.hessian.io.Deserializer- Overrides:
readObject in class com.caucho.hessian.io.AbstractDeserializer
- Throws:
IOException
getType
public abstract Class<?> getType()
- Specified by:
getType in interface com.caucho.hessian.io.Deserializer- Overrides:
getType in class com.caucho.hessian.io.AbstractDeserializer
readValue
protected abstract Object readValue(com.caucho.hessian.io.AbstractHessianInput in)
throws IOException
- Reads the value from the input.
- Parameters:
in - Input to read from.
- Returns:
- Object created from the input.
- Throws:
IOException - Error reading from the input.
Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.