|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.apache.batik.script.rhino.WindowWrapper.GetURLFunctionWrapper
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 |
protected RhinoInterpreter interpreter
protected Function function
protected ScriptableObject scope
| Constructor Detail |
public WindowWrapper.GetURLFunctionWrapper(RhinoInterpreter ri,
Function fct,
ScriptableObject sc)
| Method Detail |
public void getURLDone(boolean success,
java.lang.String mime,
java.lang.String content)
getURLDone in interface Window.GetURLHandlersuccess - Whether the data was successfully retreived.mime - The data MIME type.content - The data.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||