Package org.apache.batik.bridge
Class WindowWrapper.GetURLObjectWrapper
- java.lang.Object
-
- org.apache.batik.bridge.WindowWrapper.GetURLObjectWrapper
-
- All Implemented Interfaces:
Window.URLResponseHandler
- Enclosing class:
- WindowWrapper
private static class WindowWrapper.GetURLObjectWrapper extends java.lang.Object implements Window.URLResponseHandler
To wrap an object passed to getURL().
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
COMPLETE
private RhinoInterpreter
interpreter
The current interpreter.private org.mozilla.javascript.ScriptableObject
object
The object wrapper.private WindowWrapper
windowWrapper
The Scope for the callback.
-
Constructor Summary
Constructors Constructor Description GetURLObjectWrapper(RhinoInterpreter ri, org.mozilla.javascript.ScriptableObject obj, WindowWrapper ww)
Creates a wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getURLDone(boolean success, java.lang.String mime, java.lang.String content)
Called before 'getURL()' returns.
-
-
-
Field Detail
-
interpreter
private RhinoInterpreter interpreter
The current interpreter.
-
object
private org.mozilla.javascript.ScriptableObject object
The object wrapper.
-
windowWrapper
private WindowWrapper windowWrapper
The Scope for the callback.
-
COMPLETE
private static final java.lang.String COMPLETE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetURLObjectWrapper
public GetURLObjectWrapper(RhinoInterpreter ri, org.mozilla.javascript.ScriptableObject obj, WindowWrapper ww)
Creates a wrapper.
-
-
Method Detail
-
getURLDone
public void getURLDone(boolean success, java.lang.String mime, java.lang.String content)
Called before 'getURL()' returns.- Specified by:
getURLDone
in interfaceWindow.URLResponseHandler
- Parameters:
success
- Whether the data was successfully retreived.mime
- The data MIME type.content
- The data.
-
-