public class Cob2ObjectVisitor extends FromCobolVisitor
COBOL Complex types are converted to java Maps.
FromCobolVisitor.ArrayTypeItemHandler, FromCobolVisitor.ChoiceTypeAlternativeHandler, FromCobolVisitor.ComplexTypeChildHandler, FromCobolVisitor.PrimitiveTypeHandler| Constructor and Description |
|---|
Cob2ObjectVisitor(CobolContext cobolContext,
byte[] hostData) |
Cob2ObjectVisitor(CobolContext cobolContext,
byte[] hostData,
int start,
int length) |
Cob2ObjectVisitor(CobolContext cobolContext,
byte[] hostData,
int start,
int length,
FromCobolChoiceStrategy customChoiceStrategy) |
Cob2ObjectVisitor(CobolContext cobolContext,
byte[] hostData,
int start,
int length,
FromCobolChoiceStrategy customChoiceStrategy,
Set<String> customVariables) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResultObject() |
void |
visit(CobolArrayType type) |
void |
visit(CobolChoiceType type) |
void |
visit(CobolComplexType type) |
void |
visit(CobolPrimitiveType<?> type) |
getCobolContext, getCurFieldFullCobolName, getCurFieldName, getHostData, getLastPos, getLength, getStart, getVariables, isCustomVariable, putVariable, setLastPos, visitCobolArrayType, visitCobolChoiceType, visitCobolPrimitiveType, visitComplexTypepublic Cob2ObjectVisitor(CobolContext cobolContext, byte[] hostData)
public Cob2ObjectVisitor(CobolContext cobolContext, byte[] hostData, int start, int length)
public Cob2ObjectVisitor(CobolContext cobolContext, byte[] hostData, int start, int length, FromCobolChoiceStrategy customChoiceStrategy)
public Cob2ObjectVisitor(CobolContext cobolContext, byte[] hostData, int start, int length, FromCobolChoiceStrategy customChoiceStrategy, Set<String> customVariables)
public void visit(CobolComplexType type)
public void visit(CobolArrayType type)
public void visit(CobolChoiceType type)
public void visit(CobolPrimitiveType<?> type)
public Object getResultObject()
Copyright © 2021 LegSem. All rights reserved.