|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHostTransformer
Transformers convert complex types to/from raw mainframe byte arrays described by COBOL structures.
Method Summary | |
---|---|
ICobolComplexBinding |
getBinding()
Deprecated. replaced by newBinding |
int |
getByteLength()
The COBOL complex element maximum length in bytes. |
ICobolBindingVisitorsFactory |
getCobolBindingVisitorsFactory()
|
CobolContext |
getCobolContext()
Returns the current COBOL parameter set. |
ICobolConverters |
getCobolConverters()
This method returns the current set of COBOL converters. |
ICobolComplexBinding |
newBinding()
|
void |
setCobolBindingVisitorsFactory(ICobolBindingVisitorsFactory cobolBindingVisitorsFactory)
|
void |
setCobolContext(CobolContext cobolContext)
Change the COBOL parameter sets of the converters. |
void |
setCobolConverters(ICobolConverters cobolConverters)
Caller can pass his own set of converters if he is not satisfied with the default. |
Method Detail |
---|
ICobolConverters getCobolConverters()
void setCobolConverters(ICobolConverters cobolConverters)
cobolConverters
- the new set of COBOL convertersCobolContext getCobolContext()
void setCobolContext(CobolContext cobolContext)
cobolContext
- the new COBOL parameter setICobolBindingVisitorsFactory getCobolBindingVisitorsFactory()
void setCobolBindingVisitorsFactory(ICobolBindingVisitorsFactory cobolBindingVisitorsFactory)
cobolBindingVisitorsFactory
- the Factory that provides concrete
implementations
of marshalers/unmarshalers to setICobolComplexBinding getBinding() throws CobolBindingException
newBinding
com.legstar.coxb.gen.CoxbBindingGenerator
,
or dynamically built by
com.legstar.coxb.impl.reflect.CComplexBinding
.
CobolBindingException
- if binding cannot be returnedICobolComplexBinding newBinding() throws CobolBindingException
com.legstar.coxb.gen.CoxbBindingGenerator
,
or dynamically built by
com.legstar.coxb.impl.reflect.CComplexBinding
.
CobolBindingException
- if binding cannot be returnedint getByteLength() throws CobolBindingException
CobolBindingException
- if maximum byte length cannot be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |