All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.parser.template.ITemplateHost Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.parser.template;

import gw.lang.parser.ISymbolTable;

import java.io.Writer;
import java.io.Reader;

public interface ITemplateHost
{
  void pushScope();

  void popScope();

  void putSymbol( String name, Class type, Object value );

  ITemplateGenerator getTemplate( Reader templateReader );
  ITemplateGenerator getTemplate( Reader templateReader, String strFqn );

  void executeTemplate( ITemplateGenerator template, Writer writer );
  void executeTemplate( Reader inputStreamReader, Writer resultsStr );
  void executeTemplate( Reader inputStreamReader, Writer resultsStr, boolean strict);

  ISymbolTable getSymbolTable();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy