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 Object
implements Window.URLResponseHandler
To wrap an object passed to getURL().
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate RhinoInterpreterThe current interpreter.private org.mozilla.javascript.ScriptableObjectThe object wrapper.private WindowWrapperThe Scope for the callback. -
Constructor Summary
ConstructorsConstructorDescriptionGetURLObjectWrapper(RhinoInterpreter ri, org.mozilla.javascript.ScriptableObject obj, WindowWrapper ww) Creates a wrapper. -
Method Summary
Modifier and TypeMethodDescriptionvoidgetURLDone(boolean success, String mime, String content) Called before 'getURL()' returns.
-
Field Details
-
interpreter
The current interpreter. -
object
private org.mozilla.javascript.ScriptableObject objectThe object wrapper. -
windowWrapper
The Scope for the callback. -
COMPLETE
- See Also:
-
-
Constructor Details
-
GetURLObjectWrapper
public GetURLObjectWrapper(RhinoInterpreter ri, org.mozilla.javascript.ScriptableObject obj, WindowWrapper ww) Creates a wrapper.
-
-
Method Details
-
getURLDone
Called before 'getURL()' returns.- Specified by:
getURLDonein interfaceWindow.URLResponseHandler- Parameters:
success- Whether the data was successfully retreived.mime- The data MIME type.content- The data.
-