Package jadex.xml
Class SubObjectConverter
- java.lang.Object
- 
- jadex.xml.SubObjectConverter
 
- 
- All Implemented Interfaces:
- ISubObjectConverter
 
 public class SubObjectConverter extends java.lang.Object implements ISubObjectConverter Converter for subobjects. Consist of two object-object converter. The first for reading the second for writing.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IObjectObjectConverterrconvThe object object read converter.protected IObjectObjectConverterwconvThe object object write converter.
 - 
Constructor SummaryConstructors Constructor Description SubObjectConverter(IObjectObjectConverter rconv, IObjectObjectConverter wconv)Create a new attribute converter.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectconvertObjectForRead(java.lang.Object val, IContext context)Convert an object to another object.java.lang.ObjectconvertObjectForWrite(java.lang.Object val, IContext context)Convert an object to another object.
 
- 
- 
- 
Field Detail- 
rconvprotected IObjectObjectConverter rconv The object object read converter.
 - 
wconvprotected IObjectObjectConverter wconv The object object write converter.
 
- 
 - 
Constructor Detail- 
SubObjectConverterpublic SubObjectConverter(IObjectObjectConverter rconv, IObjectObjectConverter wconv) Create a new attribute converter.
 
- 
 - 
Method Detail- 
convertObjectForReadpublic java.lang.Object convertObjectForRead(java.lang.Object val, IContext context) throws java.lang.ExceptionConvert an object to another object.- Specified by:
- convertObjectForReadin interface- ISubObjectConverter
- Parameters:
- val- The value to convert.
- Throws:
- java.lang.Exception
 
 - 
convertObjectForWritepublic java.lang.Object convertObjectForWrite(java.lang.Object val, IContext context) throws java.lang.ExceptionConvert an object to another object.- Specified by:
- convertObjectForWritein interface- ISubObjectConverter
- Parameters:
- val- The value to convert.
- Throws:
- java.lang.Exception
 
 
- 
 
-