![JAR search and dependency download from the Maven repository](/logo.png)
com.legstar.coxb.ICobolBindingVisitorsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legstar-coxbapi Show documentation
Show all versions of legstar-coxbapi Show documentation
Cobol Transformers Application Programming Interface.
The newest version!
/*******************************************************************************
* Copyright (c) 2015 LegSem.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
* LegSem - initial API and implementation
******************************************************************************/
package com.legstar.coxb;
import com.legstar.coxb.convert.ICobolConverters;
/**
* Concrete implementations of the CobolBindingVisitorsFactory implement this interface.
*
*/
public interface ICobolBindingVisitorsFactory {
/**
* Create an instance of a Marshal visitor which turns a Java data object to
* mainframe data as a byte array.
* @param hostBytes host buffer used by visitor
* @param offset offset in host buffer
* @param cobolConverters set of converters to use for cobol elements
* @return an implementation of {@link com.legstar.coxb.CobolElementVisitor}
*/
CobolElementVisitor createMarshalVisitor(final byte[] hostBytes,
final int offset,
final ICobolConverters cobolConverters);
/**
* Create an instance of a Unmarshal visitor which turns mainframe data to a
* Java data object.
* @param hostBytes host buffer used by visitor
* @param offset offset in host buffer
* @param cobolConverters set of converters to use for cobol elements
* @return an implementation of {@link com.legstar.coxb.CobolElementVisitor}
*/
CobolElementVisitor createUnmarshalVisitor(final byte[] hostBytes,
final int offset,
final ICobolConverters cobolConverters);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy