public interface InterpreterFactory
Interpreter
instances for a particular script language.Modifier and Type | Method and Description |
---|---|
Interpreter |
createInterpreter(java.net.URL documentURL,
boolean svg12)
This method should create an instance of
Interpreter
interface implementation. |
Interpreter |
createInterpreter(java.net.URL documentURL,
boolean svg12,
ImportInfo imports)
This method should create an instance of
Interpreter
interface implementation. |
java.lang.String[] |
getMimeTypes()
Returns the mime-types to register this interpereter with.
|
java.lang.String[] getMimeTypes()
Interpreter createInterpreter(java.net.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(java.net.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 © 2022 Apache Software Foundation. All Rights Reserved.