// XMLToJava.h: interface for the XMLToJava class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_XMLTOJAVA_H__CAA592A2_1E59_47D7_8D57_63714EB155D5__INCLUDED_)
#define AFX_XMLTOJAVA_H__CAA592A2_1E59_47D7_8D57_63714EB155D5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

typedef CPtrTempl<CString*>StringList;
class XMLToJava  
{
public:
	CString MapType(CString tp );
	CString Tabs();
	CString DecodeActivity( StringList &list ,CObjTempl<CString>& finiID);
	CString DecodeTranstable(StringList &list );
	CString DecodeParameter(StringList &list );
	CString DecodeOperation(StringList &list );
	void DecodeALine(StringList &list , CString str );
	void DecodeNext(StringList &list , CString &id ,CString &condiction ,CString &expression);
	CString DecodeItem(StringList &list ,CString& content);
	CString DecodeAttribute(StringList& list );
	BOOL ReadALine(CFile &file , CString &str );
	void Do(CString dir ,CString fn );
	XMLToJava();
	virtual ~XMLToJava();

private:
	int m_TabNumber;
};

#endif // !defined(AFX_XMLTOJAVA_H__CAA592A2_1E59_47D7_8D57_63714EB155D5__INCLUDED_)
