Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.batik.script
Interface InterpreterFactory

All Known Implementing Classes:
  RhinoInterpreterFactory

    public interface InterpreterFactory

An interface for factory objects than can create `Interpreter` instances for a particular script language.

Method Summary
`Interpreter` | `createInterpreter(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

### getMimeTypes

    String[] getMimeTypes()

  Returns the mime-types to register this interpereter with.

### createInterpreter

    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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Apache Software Foundation. All Rights Reserved.