package com.jxml.quick.ocm; // Open Conversion Model
import com.jxml.quick.*;
import org.xml.sax.*;
import java.io.*;
import java.util.*;
/**
 * Provides the functionality for the conversion.
 */
public interface OCMpeer
{
	/**
	 * Initialize the peer object.
	 * @param dataModel The data model object paired to this peer.
	 * @param context The conversion context.
	 * @param parent The peer object of the parent of the data model object.
	 * @param paramMap Parameter data from the .util or .ocm file.
	 */
	public void init(Object dataModel, OCMcontext context, OCMpeer parent, Map paramMap)
		throws SAXException, IOException;

	/**
	 * Perform the conversion.
	 */
	public void cvt(Object param)
		throws SAXException, IOException;
}
