public class DmwDeserializer extends Object
| Constructor and Description |
|---|
DmwDeserializer(SchemaManager s) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(DmcAttributeInfo ai,
AttributeReadInterceptor ari)
Adds an attribute specific interceptor.
|
void |
addInterceptor(DmcClassInfo dci,
DmcAttributeInfo ai,
AttributeReadInterceptor ari)
Adds a class specific attribute interceptor.
|
void |
addInterceptor(DmcClassInfo dci,
ObjectReadInterceptor ori)
Adds an object level interceptor for the specified class.
|
DmwWrapper |
deserialize(DmcInputStreamIF dis)
This method will read the next serialized object from the input stream and return it.
|
DmwWrapper |
deserializeWithConversion(DmcInputStreamIF dis)
This method will read the next serialized object from the input stream and apply any
required attribute level data conversions.
|
SchemaManager |
getSchema() |
public DmwDeserializer(SchemaManager s)
public SchemaManager getSchema()
public void addInterceptor(DmcAttributeInfo ai, AttributeReadInterceptor ari)
ai - The attribute info.ari - The interceptor.public void addInterceptor(DmcClassInfo dci, DmcAttributeInfo ai, AttributeReadInterceptor ari)
dci - The class info.ai - The attribute info.ari - The interceptor.public void addInterceptor(DmcClassInfo dci, ObjectReadInterceptor ori)
dci - The class info.ori - The object interceptor.public DmwWrapper deserialize(DmcInputStreamIF dis) throws Exception
dis - The input stream.ExceptionIOExceptionResultExceptionExceptionpublic DmwWrapper deserializeWithConversion(DmcInputStreamIF dis) throws Exception
dis - The input stream.ExceptionIOExceptionResultExceptionExceptionCopyright © 2023. All rights reserved.