package com.jxml.quick.util.qjml2java;
import com.jxml.quick.model.qjml.*;
import com.jxml.quick.*;
import org.xml.sax.*;
import java.util.*;
import com.jxml.quick.ocm.*;
import java.io.*;

/**
 * Extracts QJML data.
 */
public class QCQJML extends OCMrootPeerSupport {
    /**
     * User-provided code to perform the conversion.
     */
    public void cvt(Object param) throws SAXException, IOException {

	QMQJML qjml=(QMQJML)dataModel;
	Conv.SubConv conv=(Conv.SubConv)context;

	qjml.init(); // initialize the data model

        QMCoin rootCoin = (QMCoin)qjml.coinMap.get(qjml.root);
        
        conv.coinMap=qjml.coinMap;

	doCvt(rootCoin,null);
    }
}
