content: /*******************************************************************************
   * Copyright (c) 2002, 2007 IBM Corporation and others.
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of the Eclipse Public License v1.0
   * which accompanies this distribution, and is available at
   * http://www.eclipse.org/legal/epl-v10.html
   *
   * Contributors:
   *   IBM - Initial API and implementation
   *
   * </copyright>
   *
   * $Id: JETParseEventListener.java,v 1.2 2007/04/12 18:02:43 pelder Exp $
   * /
   *******************************************************************************/
  package org.eclipse.jet.internal.core.parser.jasper;
  
  
  import java.util.Map;
  
  
  /**
   * The interface for the JET code generation backend. 
   */
  public interface JETParseEventListener
  {
    void beginPageProcessing() throws JETException;
  
    void handleDirective(String directive, JETMark start, JETMark stop, Map attributes) throws JETException;
  
    void handleExpression(JETMark start, JETMark stop, Map attributes) throws JETException;
  
    void handleCharData(char[] chars) throws JETException;
  
    void endPageProcessing() throws JETException;
  
    void handleScriptlet(JETMark start, JETMark stop, Map attributes) throws JETException;
  }
  