link start!
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package org.apache.batik.script;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import org.apache.batik.i18n.Localizable;
|
||||
|
||||
public interface Interpreter extends Localizable {
|
||||
void bindObject(String str, Object obj);
|
||||
|
||||
void dispose();
|
||||
|
||||
Object evaluate(Reader reader) throws InterpreterException, IOException;
|
||||
|
||||
Object evaluate(Reader reader, String str) throws InterpreterException, IOException;
|
||||
|
||||
Object evaluate(String str) throws InterpreterException;
|
||||
|
||||
void setOut(Writer writer);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.batik.script;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
public interface InterpreterFactory {
|
||||
Interpreter createInterpreter(URL url, boolean z);
|
||||
|
||||
String[] getMimeTypes();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.apache.batik.script;
|
||||
|
||||
public interface ScriptEventWrapper {
|
||||
Object getEventObject();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.apache.batik.script;
|
||||
|
||||
import org.w3c.dom.Document;
|
||||
|
||||
public interface ScriptHandler {
|
||||
void run(Document document, Window window);
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package org.apache.batik.script;
|
||||
|
||||
import org.apache.batik.bridge.BridgeContext;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
public interface Window {
|
||||
|
||||
public interface URLResponseHandler {
|
||||
void getURLDone(boolean z, String str, String str2);
|
||||
}
|
||||
|
||||
void alert(String str);
|
||||
|
||||
void clearInterval(Object obj);
|
||||
|
||||
void clearTimeout(Object obj);
|
||||
|
||||
boolean confirm(String str);
|
||||
|
||||
BridgeContext getBridgeContext();
|
||||
|
||||
Interpreter getInterpreter();
|
||||
|
||||
void getURL(String str, URLResponseHandler uRLResponseHandler);
|
||||
|
||||
void getURL(String str, URLResponseHandler uRLResponseHandler, String str2);
|
||||
|
||||
Node parseXML(String str, Document document);
|
||||
|
||||
void postURL(String str, String str2, URLResponseHandler uRLResponseHandler);
|
||||
|
||||
void postURL(String str, String str2, URLResponseHandler uRLResponseHandler, String str3);
|
||||
|
||||
void postURL(String str, String str2, URLResponseHandler uRLResponseHandler, String str3, String str4);
|
||||
|
||||
String prompt(String str);
|
||||
|
||||
String prompt(String str, String str2);
|
||||
|
||||
Object setInterval(Runnable runnable, long j);
|
||||
|
||||
Object setInterval(String str, long j);
|
||||
|
||||
Object setTimeout(Runnable runnable, long j);
|
||||
|
||||
Object setTimeout(String str, long j);
|
||||
}
|
||||
Reference in New Issue
Block a user