Package org.apache.batik.script.jacl
Class JaclInterpreterFactory
- java.lang.Object
-
- org.apache.batik.script.jacl.JaclInterpreterFactory
-
- All Implemented Interfaces:
InterpreterFactory
public class JaclInterpreterFactory extends java.lang.Object implements InterpreterFactory
Allows to create instances ofJaclInterpreterclass.- Version:
- $Id: JaclInterpreterFactory.java 1808872 2017-09-19 12:23:20Z ssteiner $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]JACL_MIMETYPESThe MIME types that jacl can handle.
-
Constructor Summary
Constructors Constructor Description JaclInterpreterFactory()Builds aJaclInterpreterFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpretercreateInterpreter(java.net.URL documentURL, boolean svg12)Creates an instance ofJaclInterpreterclass.InterpretercreateInterpreter(java.net.URL documentURL, boolean svg12, ImportInfo imports)Creates an instance ofJaclInterpreterclass.java.lang.String[]getMimeTypes()Returns the mime-types to register this interpereter with.
-
-
-
Method Detail
-
getMimeTypes
public java.lang.String[] getMimeTypes()
Returns the mime-types to register this interpereter with.- Specified by:
getMimeTypesin interfaceInterpreterFactory
-
createInterpreter
public Interpreter createInterpreter(java.net.URL documentURL, boolean svg12)
Creates an instance ofJaclInterpreterclass.- Specified by:
createInterpreterin interfaceInterpreterFactory- Parameters:
documentURL- the url for the document which will be scriptedsvg12- whether the document is an SVG 1.2 document
-
createInterpreter
public Interpreter createInterpreter(java.net.URL documentURL, boolean svg12, ImportInfo imports)
Creates an instance ofJaclInterpreterclass.- Specified by:
createInterpreterin interfaceInterpreterFactory- Parameters:
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.
-
-