Package com.caucho.hessian.io
Class AbstractStringValueDeserializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractDeserializer
-
- com.caucho.hessian.io.AbstractStringValueDeserializer
-
- All Implemented Interfaces:
Deserializer
- Direct Known Subclasses:
BigDecimalDeserializer,FileDeserializer,ObjectNameDeserializer,StringValueDeserializer
public abstract class AbstractStringValueDeserializer extends AbstractDeserializer
Deserializes a string-valued object like BigDecimal.
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractDeserializer
NULL
-
-
Constructor Summary
Constructors Constructor Description AbstractStringValueDeserializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Objectcreate(String value)ObjectreadMap(AbstractHessianInput in)ObjectreadObject(AbstractHessianInput in, Object[] fields)Reads an object instance from the input stream-
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, getType, isReadResolve, readLengthList, readList, readObject, readObject
-
-
-
-
Method Detail
-
create
protected abstract Object create(String value) throws IOException
- Throws:
IOException
-
readMap
public Object readMap(AbstractHessianInput in) throws IOException
- Specified by:
readMapin interfaceDeserializer- Overrides:
readMapin classAbstractDeserializer- Throws:
IOException
-
readObject
public Object readObject(AbstractHessianInput in, Object[] fields) throws IOException
Description copied from class:AbstractDeserializerReads an object instance from the input stream- Specified by:
readObjectin interfaceDeserializer- Overrides:
readObjectin classAbstractDeserializer- Parameters:
in- the input streamfields- the deserializer's own field marshal- Returns:
- the new object
- Throws:
IOException
-
-