public interface InterpreterFactory
Interpreter
instances for a particular script language.Modifier and Type | Method and Description |
---|---|
Interpreter |
createInterpreter(URL documentURL,
boolean svg12)
This method should create an instance of
Interpreter
interface implementation. |
Interpreter |
createInterpreter(URL documentURL,
boolean svg12,
ImportInfo imports)
This method should create an instance of
Interpreter
interface implementation. |
String[] |
getMimeTypes()
Returns the mime-types to register this interpereter with.
|
String[] getMimeTypes()
Interpreter createInterpreter(URL documentURL, boolean svg12, ImportInfo imports)
Interpreter
interface implementation.documentURL
- the url for the document which will be scriptedsvg12
- whether the document is an SVG 1.2 documentimports
- The set of classes/packages to import (if
the interpreter supports that), may be null.Interpreter createInterpreter(URL documentURL, boolean svg12)
Interpreter
interface implementation.documentURL
- the url for the document which will be scriptedsvg12
- whether the document is an SVG 1.2 documentCopyright © 2000–2023 Apache Software Foundation. All rights reserved.