Package org.apache.batik.bridge
Class SVG12RhinoInterpreter
- java.lang.Object
-
- org.apache.batik.bridge.RhinoInterpreter
-
- org.apache.batik.bridge.SVG12RhinoInterpreter
-
- All Implemented Interfaces:
Localizable
,Interpreter
public class SVG12RhinoInterpreter extends RhinoInterpreter
A RhinoInterpreter for SVG 1.2 documents.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.bridge.RhinoInterpreter
RhinoInterpreter.ArgumentsBuilder, RhinoInterpreter.Entry, RhinoInterpreter.Factory
-
-
Field Summary
-
Fields inherited from class org.apache.batik.bridge.RhinoInterpreter
BIND_NAME_WINDOW, classShutter, compiledScripts, contextFactory, contexts, defaultContext, globalObject, rhinoClassLoader, securityController, SOURCE_NAME_SVG, window, wrapFactory
-
-
Constructor Summary
Constructors Constructor Description SVG12RhinoInterpreter(java.net.URL documentURL)
Creates an SVG12RhinoInterpreter object.SVG12RhinoInterpreter(java.net.URL documentURL, ImportInfo imports)
Creates an SVG12RhinoInterpreter object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.mozilla.javascript.ScriptableObject
createGlobalObject(org.mozilla.javascript.Context ctx)
Creates the global object.protected void
defineGlobalWrapperClass(org.mozilla.javascript.Scriptable global)
Defines the class for the global object.-
Methods inherited from class org.apache.batik.bridge.RhinoInterpreter
bindObject, dispose, evaluate, evaluate, evaluate, formatMessage, getAccessControlContext, getContextFactory, getGlobalObject, getLocale, getMimeTypes, getWindow, init, setLocale, setOut
-
-
-
-
Constructor Detail
-
SVG12RhinoInterpreter
public SVG12RhinoInterpreter(java.net.URL documentURL)
Creates an SVG12RhinoInterpreter object.
-
SVG12RhinoInterpreter
public SVG12RhinoInterpreter(java.net.URL documentURL, ImportInfo imports)
Creates an SVG12RhinoInterpreter object.
-
-
Method Detail
-
defineGlobalWrapperClass
protected void defineGlobalWrapperClass(org.mozilla.javascript.Scriptable global)
Defines the class for the global object.- Overrides:
defineGlobalWrapperClass
in classRhinoInterpreter
-
createGlobalObject
protected org.mozilla.javascript.ScriptableObject createGlobalObject(org.mozilla.javascript.Context ctx)
Creates the global object.- Overrides:
createGlobalObject
in classRhinoInterpreter
-
-