|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICobolDoubleConverter
This class uses the Strategy pattern to shield marshallers/unmarshallers from the specific Java numeric to cobol representation.
| Method Summary | |
|---|---|
int |
fromHost(ICobolArrayDoubleBinding ce,
byte[] hostSource,
int offset,
int currentOccurs)
Converts an array of Cobol values from a host buffer to a java array. |
int |
fromHost(ICobolDoubleBinding ce,
byte[] hostSource,
int offset)
Converts an element Cobol value from a host buffer to a java value. |
int |
toHost(ICobolArrayDoubleBinding ce,
byte[] hostTarget,
int offset,
int currentOccurs)
Converts an array of java values to a host representation stored in host buffer. |
int |
toHost(ICobolDoubleBinding ce,
byte[] hostTarget,
int offset)
Converts an element java value to a host representation stored in host buffer. |
| Methods inherited from interface com.legstar.coxb.convert.ICobolConverter |
|---|
getCobolContext, setCobolContext |
| Method Detail |
|---|
int toHost(ICobolDoubleBinding ce,
byte[] hostTarget,
int offset)
throws HostException
ce - Cobol element descriptorhostTarget - Target host bufferoffset - Offset in the target host buffer
HostException - if conversion fails
int toHost(ICobolArrayDoubleBinding ce,
byte[] hostTarget,
int offset,
int currentOccurs)
throws HostException
ce - Cobol array descriptorhostTarget - Target host bufferoffset - Offset in the target host buffercurrentOccurs - actual number of items in array
HostException - if conversion fails
int fromHost(ICobolDoubleBinding ce,
byte[] hostSource,
int offset)
throws HostException
ce - Cobol element descriptorhostSource - Source host bufferoffset - Offset in the source host buffer
HostException - if conversion fails
int fromHost(ICobolArrayDoubleBinding ce,
byte[] hostSource,
int offset,
int currentOccurs)
throws HostException
ce - Cobol array descriptorhostSource - Source host bufferoffset - Offset in the source host buffercurrentOccurs - actual number of items in array
HostException - if conversion fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||