public class SubObjectConverter extends Object implements ISubObjectConverter
Constructor and Description |
---|
SubObjectConverter(IObjectObjectConverter rconv,
IObjectObjectConverter wconv)
Create a new attribute converter.
|
Modifier and Type | Method and Description |
---|---|
Object |
convertObjectForRead(Object val,
IContext context)
Convert an object to another object.
|
Object |
convertObjectForWrite(Object val,
IContext context)
Convert an object to another object.
|
public SubObjectConverter(IObjectObjectConverter rconv, IObjectObjectConverter wconv)
public Object convertObjectForRead(Object val, IContext context) throws Exception
convertObjectForRead
in interface ISubObjectConverter
val
- The value to convert.Exception
public Object convertObjectForWrite(Object val, IContext context) throws Exception
convertObjectForWrite
in interface ISubObjectConverter
val
- The value to convert.Exception
Copyright © 2013. All Rights Reserved.