com.caucho.hessian.io
Class AbstractSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
- All Implemented Interfaces:
- Serializer
- Direct Known Subclasses:
- AbstractStreamSerializer, AnnotationSerializer, ArraySerializer, BasicSerializer, BeanSerializer, ByteArraySerializer, CalendarSerializer, ClassSerializer, CollectionSerializer, EnumerationSerializer, EnumSerializer, InputStreamSerializer, IteratorSerializer, JavaSerializer, LocaleSerializer, MapSerializer, ObjectHandleSerializer, RemoteSerializer, SqlDateSerializer, StringValueSerializer, UnsafeSerializer, WriteReplaceSerializer
public abstract class AbstractSerializer
- extends Object
- implements Serializer
Serializing an object.
|
Field Summary |
protected static Logger |
log
|
static com.caucho.hessian.io.AbstractSerializer.NullSerializer |
NULL
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final com.caucho.hessian.io.AbstractSerializer.NullSerializer NULL
log
protected static final Logger log
AbstractSerializer
public AbstractSerializer()
writeObject
public void writeObject(Object obj,
AbstractHessianOutput out)
throws IOException
- Specified by:
writeObject in interface Serializer
- Throws:
IOException
writeReplace
protected Object writeReplace(Object obj)
getClass
protected Class<?> getClass(Object obj)
writeObject10
protected void writeObject10(Object obj,
AbstractHessianOutput out)
throws IOException
- Throws:
IOException
writeDefinition20
protected void writeDefinition20(Class<?> cl,
AbstractHessianOutput out)
throws IOException
- Throws:
IOException
writeInstance
protected void writeInstance(Object obj,
AbstractHessianOutput out)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.