com.bea.tuxedo.control
Class FieldDeserializer

java.lang.Object
  extended by com.bea.tuxedo.control.Deserializer
      extended by com.bea.tuxedo.control.FieldDeserializer

public class FieldDeserializer
extends Deserializer

Map an FML/FML32 or View/View32 buffer received from Tuxedo into a Java object.


Field Summary
 
Fields inherited from class com.bea.tuxedo.control.Deserializer
_buff, _conventions, _issues, _logLevel, _mappingStrictness
 
Constructor Summary
FieldDeserializer(weblogic.wtc.jatmi.FML buff, TuxedoControl.MappingStrictness strict, List issues, weblogic.wtc.jatmi.FldTbl[] fldTables, TuxedoControl.AccessorName conv, TuxedoControl.DebugLevel logLev)
          Constructor for FML buffers.
FieldDeserializer(weblogic.wtc.jatmi.TypedBuffer buff, TuxedoControl.MappingStrictness strict, List issues, TuxedoControl.AccessorName conv, TuxedoControl.DebugLevel logLev)
          Constructor for View or View32 buffers.
 
Method Summary
 Object deserialize(Class cls, String name)
          Deserialize a field into an object, given the class of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDeserializer

public FieldDeserializer(weblogic.wtc.jatmi.FML buff,
                         TuxedoControl.MappingStrictness strict,
                         List issues,
                         weblogic.wtc.jatmi.FldTbl[] fldTables,
                         TuxedoControl.AccessorName conv,
                         TuxedoControl.DebugLevel logLev)
Constructor for FML buffers.

Parameters:
buff - An instance of an FML buffer.
strict - The mapping strictness
issues - The issue list to add to.
fldTables - An array of FML field tables to associate with the buffer.
conv - Conventions to use when mapping accessors to fields.
logLev - The log level set for this method

FieldDeserializer

public FieldDeserializer(weblogic.wtc.jatmi.TypedBuffer buff,
                         TuxedoControl.MappingStrictness strict,
                         List issues,
                         TuxedoControl.AccessorName conv,
                         TuxedoControl.DebugLevel logLev)
Constructor for View or View32 buffers.

Parameters:
buff - An instance of a View or View32 buffer.
strict - The mapping strictness.
issues - The issue list to add to.
conv - Conventions to use when mapping accessors to fields.
logLev - The log level set for this method
Method Detail

deserialize

public Object deserialize(Class cls,
                          String name)
Deserialize a field into an object, given the class of the object.

Specified by:
deserialize in class Deserializer
Parameters:
cls - The class of the object
name - The name of the object - may be an empty string