com.bea.tuxedo.control
Class FieldSerializer

java.lang.Object
  extended by com.bea.tuxedo.control.Serializer
      extended by com.bea.tuxedo.control.FieldSerializer

public class FieldSerializer
extends Serializer

Map incoming Java objects to an FML/FML32 or View/View32 buffer.


Field Summary
 
Fields inherited from class com.bea.tuxedo.control.Serializer
_buff, _conventions, _issues, _logLevel, _mappingStrictness
 
Constructor Summary
FieldSerializer(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.
FieldSerializer(weblogic.wtc.jatmi.TypedBuffer buff, TuxedoControl.MappingStrictness strict, List issues, TuxedoControl.AccessorName conv, TuxedoControl.DebugLevel logLev)
          Constructor for View or View32 buffers.
 
Method Summary
 void serialize(Object arg, String name)
          Serialize a parameter or field into an FML/FML32 buffer or into a View/View32 buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldSerializer

public FieldSerializer(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

FieldSerializer

public FieldSerializer(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

serialize

public void serialize(Object arg,
                      String name)
Serialize a parameter or field into an FML/FML32 buffer or into a View/View32 buffer.

Specified by:
serialize in class Serializer
Parameters:
arg - The value of the argument to serialize
name - The name of the argument