org.apache.batik.script.rhino

Class RhinoInterpreterFactory

public class RhinoInterpreterFactory extends Object implements InterpreterFactory

Allows to create instances of RhinoInterpreter class.
Constructor Summary
RhinoInterpreterFactory()
Builds a RhinoInterpreterFactory.
Method Summary
InterpretercreateInterpreter(URL documentURL, boolean svg12)
Creates an instance of RhinoInterpreter class.
String[]getMimeTypes()
Returns the mime-types to register this interpereter with.

Constructor Detail

RhinoInterpreterFactory

public RhinoInterpreterFactory()
Builds a RhinoInterpreterFactory.

Method Detail

createInterpreter

public Interpreter createInterpreter(URL documentURL, boolean svg12)
Creates an instance of RhinoInterpreter class.

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.