public class RhinoInterpreterFactory extends java.lang.Object implements InterpreterFactory
RhinoInterpreter class.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
RHINO_MIMETYPES
The MIME types that Rhino can handle.
|
| Constructor and Description |
|---|
RhinoInterpreterFactory()
Builds a
RhinoInterpreterFactory. |
| Modifier and Type | Method and Description |
|---|---|
Interpreter |
createInterpreter(java.net.URL documentURL,
boolean svg12)
Creates an instance of
RhinoInterpreter class. |
Interpreter |
createInterpreter(java.net.URL documentURL,
boolean svg12,
ImportInfo imports)
Creates an instance of
RhinoInterpreter class. |
java.lang.String[] |
getMimeTypes()
Returns the mime-types to register this interpereter with.
|
public static final java.lang.String[] RHINO_MIMETYPES
public RhinoInterpreterFactory()
RhinoInterpreterFactory.public java.lang.String[] getMimeTypes()
getMimeTypes in interface InterpreterFactorypublic Interpreter createInterpreter(java.net.URL documentURL, boolean svg12)
RhinoInterpreter class.createInterpreter in interface InterpreterFactorydocumentURL - the url for the document which will be scriptedsvg12 - whether the document is an SVG 1.2 documentpublic Interpreter createInterpreter(java.net.URL documentURL, boolean svg12, ImportInfo imports)
RhinoInterpreter class.createInterpreter in interface InterpreterFactorydocumentURL - 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 ? 2009 Apache Software Foundation. All Rights Reserved.