org.apache.batik.script
Interface InterpreterFactory

All Known Implementing Classes:
JaclInterpreterFactory, JPythonInterpreterFactory, RhinoInterpreterFactory

public interface InterpreterFactory

An hight level interface that represents a factory allowing to create instances of a particular Interpreter interface implementation.


Method Summary
 Interpreter createInterpreter(URL documentURL)
          This method should create an instance of Interpreter interface implementation.
 String getMimeType()
          Returns the mime-type to register this interpereter with.
 

Method Detail

getMimeType

public String getMimeType()
Returns the mime-type to register this interpereter with.


createInterpreter

public Interpreter createInterpreter(URL documentURL)
This method should create an instance of Interpreter interface implementation.

Parameters:
documentURL - the url for the document which will be scripted


Copyright ? 2005 Apache Software Foundation. All Rights Reserved.