//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE-----------------------------
package org.huihoo.workflow.script.compiler;

import java.util.Hashtable;

import org.huihoo.workflow.WorkflowException;

public interface ParseEventListener
{
	void beginScriptProcessing() throws WorkflowException;

	void handleDirective(String directive, Mark start, Mark stop, Hashtable attrs) throws WorkflowException;
	void handleScriptlet(Mark start, Mark stop, Hashtable attrs) throws WorkflowException;

	void handleCharData(Mark start, Mark stop, char[] chars) throws WorkflowException;

	void endScriptProcessing() throws WorkflowException;
}