Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.script.rhino
Class WindowWrapper.GetURLFunctionWrapper  view WindowWrapper.GetURLFunctionWrapper download WindowWrapper.GetURLFunctionWrapper.java

java.lang.Object
  extended byorg.apache.batik.script.rhino.WindowWrapper.GetURLFunctionWrapper
All Implemented Interfaces:
org.apache.batik.script.Window.URLResponseHandler
Enclosing class:
WindowWrapper

protected static class WindowWrapper.GetURLFunctionWrapper
extends java.lang.Object
implements org.apache.batik.script.Window.URLResponseHandler

To wrap a function passed to getURL().


Field Summary
protected  Function function
          The function wrapper.
protected  RhinoInterpreter interpreter
          The current interpreter.
protected  ScriptableObject scope
          The Scope for callback
 
Constructor Summary
WindowWrapper.GetURLFunctionWrapper(RhinoInterpreter ri, Function fct, ScriptableObject sc)
          Creates a wrapper.
 
Method Summary
 void getURLDone(boolean success, java.lang.String mime, java.lang.String content)
          Called before 'getURL()' returns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interpreter

protected RhinoInterpreter interpreter
The current interpreter.


function

protected Function function
The function wrapper.


scope

protected ScriptableObject scope
The Scope for callback

Constructor Detail

WindowWrapper.GetURLFunctionWrapper

public WindowWrapper.GetURLFunctionWrapper(RhinoInterpreter ri,
                                           Function fct,
                                           ScriptableObject sc)
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 interface org.apache.batik.script.Window.URLResponseHandler