public class JaclInterpreterFactory extends Object implements InterpreterFactory
JaclInterpreter
class.Modifier and Type | Field and Description |
---|---|
static String[] |
JACL_MIMETYPES
The MIME types that jacl can handle.
|
Constructor and Description |
---|
JaclInterpreterFactory()
Builds a
JaclInterpreterFactory . |
Modifier and Type | Method and Description |
---|---|
Interpreter |
createInterpreter(URL documentURL,
boolean svg12)
Creates an instance of
JaclInterpreter class. |
Interpreter |
createInterpreter(URL documentURL,
boolean svg12,
ImportInfo imports)
Creates an instance of
JaclInterpreter class. |
String[] |
getMimeTypes()
Returns the mime-types to register this interpereter with.
|
public static final String[] JACL_MIMETYPES
public JaclInterpreterFactory()
JaclInterpreterFactory
.public String[] getMimeTypes()
getMimeTypes
in interface InterpreterFactory
public Interpreter createInterpreter(URL documentURL, boolean svg12)
JaclInterpreter
class.createInterpreter
in interface InterpreterFactory
documentURL
- the url for the document which will be scriptedsvg12
- whether the document is an SVG 1.2 documentpublic Interpreter createInterpreter(URL documentURL, boolean svg12, ImportInfo imports)
JaclInterpreter
class.createInterpreter
in interface InterpreterFactory
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.Copyright © 2000–2023 Apache Software Foundation. All rights reserved.