org.apache.batik.script

Interface InterpreterFactory

public interface InterpreterFactory

An interface for factory objects than can create {@link Interpreter} instances for a particular script language.
Method Summary
InterpretercreateInterpreter(URL documentURL, boolean svg12)
This method should create an instance of Interpreter interface implementation.
String[]getMimeTypes()
Returns the mime-types to register this interpereter with.

Method Detail

createInterpreter

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

Parameters: documentURL the url for the document which will be scripted svg12 whether the document is an SVG 1.2 document

getMimeTypes

public String[] getMimeTypes()
Returns the mime-types to register this interpereter with.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.