summaryrefslogtreecommitdiff
path: root/libjava/org/w3c/dom/ls
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/org/w3c/dom/ls')
-rw-r--r--libjava/org/w3c/dom/ls/DOMImplementationLS.h44
-rw-r--r--libjava/org/w3c/dom/ls/LSException.h38
-rw-r--r--libjava/org/w3c/dom/ls/LSInput.h50
-rw-r--r--libjava/org/w3c/dom/ls/LSLoadEvent.h52
-rw-r--r--libjava/org/w3c/dom/ls/LSOutput.h42
-rw-r--r--libjava/org/w3c/dom/ls/LSParser.h53
-rw-r--r--libjava/org/w3c/dom/ls/LSParserFilter.h43
-rw-r--r--libjava/org/w3c/dom/ls/LSProgressEvent.h52
-rw-r--r--libjava/org/w3c/dom/ls/LSResourceResolver.h36
-rw-r--r--libjava/org/w3c/dom/ls/LSSerializer.h46
-rw-r--r--libjava/org/w3c/dom/ls/LSSerializerFilter.h37
11 files changed, 493 insertions, 0 deletions
diff --git a/libjava/org/w3c/dom/ls/DOMImplementationLS.h b/libjava/org/w3c/dom/ls/DOMImplementationLS.h
new file mode 100644
index 000000000..f94da31fd
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/DOMImplementationLS.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_DOMImplementationLS__
+#define __org_w3c_dom_ls_DOMImplementationLS__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class DOMImplementationLS;
+ class LSInput;
+ class LSOutput;
+ class LSParser;
+ class LSSerializer;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::DOMImplementationLS : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::ls::LSParser * createLSParser(jshort, ::java::lang::String *) = 0;
+ virtual ::org::w3c::dom::ls::LSSerializer * createLSSerializer() = 0;
+ virtual ::org::w3c::dom::ls::LSInput * createLSInput() = 0;
+ virtual ::org::w3c::dom::ls::LSOutput * createLSOutput() = 0;
+ static const jshort MODE_SYNCHRONOUS = 1;
+ static const jshort MODE_ASYNCHRONOUS = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_DOMImplementationLS__
diff --git a/libjava/org/w3c/dom/ls/LSException.h b/libjava/org/w3c/dom/ls/LSException.h
new file mode 100644
index 000000000..c14444067
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSException__
+#define __org_w3c_dom_ls_LSException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSException;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSException : public ::java::lang::RuntimeException
+{
+
+public:
+ LSException(jshort, ::java::lang::String *);
+ jshort __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) code;
+ static const jshort PARSE_ERR = 81;
+ static const jshort SERIALIZE_ERR = 82;
+ static ::java::lang::Class class$;
+};
+
+#endif // __org_w3c_dom_ls_LSException__
diff --git a/libjava/org/w3c/dom/ls/LSInput.h b/libjava/org/w3c/dom/ls/LSInput.h
new file mode 100644
index 000000000..8dd9da174
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSInput.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSInput__
+#define __org_w3c_dom_ls_LSInput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSInput;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSInput : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::io::Reader * getCharacterStream() = 0;
+ virtual void setCharacterStream(::java::io::Reader *) = 0;
+ virtual ::java::io::InputStream * getByteStream() = 0;
+ virtual void setByteStream(::java::io::InputStream *) = 0;
+ virtual ::java::lang::String * getStringData() = 0;
+ virtual void setStringData(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getSystemId() = 0;
+ virtual void setSystemId(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getPublicId() = 0;
+ virtual void setPublicId(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getBaseURI() = 0;
+ virtual void setBaseURI(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getEncoding() = 0;
+ virtual void setEncoding(::java::lang::String *) = 0;
+ virtual jboolean getCertifiedText() = 0;
+ virtual void setCertifiedText(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSInput__
diff --git a/libjava/org/w3c/dom/ls/LSLoadEvent.h b/libjava/org/w3c/dom/ls/LSLoadEvent.h
new file mode 100644
index 000000000..9c6303392
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSLoadEvent.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSLoadEvent__
+#define __org_w3c_dom_ls_LSLoadEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Document;
+ namespace events
+ {
+ class EventTarget;
+ }
+ namespace ls
+ {
+ class LSInput;
+ class LSLoadEvent;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSLoadEvent : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::Document * getNewDocument() = 0;
+ virtual ::org::w3c::dom::ls::LSInput * getInput() = 0;
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSLoadEvent__
diff --git a/libjava/org/w3c/dom/ls/LSOutput.h b/libjava/org/w3c/dom/ls/LSOutput.h
new file mode 100644
index 000000000..6d3990eb8
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSOutput.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSOutput__
+#define __org_w3c_dom_ls_LSOutput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSOutput;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSOutput : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::io::Writer * getCharacterStream() = 0;
+ virtual void setCharacterStream(::java::io::Writer *) = 0;
+ virtual ::java::io::OutputStream * getByteStream() = 0;
+ virtual void setByteStream(::java::io::OutputStream *) = 0;
+ virtual ::java::lang::String * getSystemId() = 0;
+ virtual void setSystemId(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getEncoding() = 0;
+ virtual void setEncoding(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSOutput__
diff --git a/libjava/org/w3c/dom/ls/LSParser.h b/libjava/org/w3c/dom/ls/LSParser.h
new file mode 100644
index 000000000..2f1e3f3c7
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSParser.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSParser__
+#define __org_w3c_dom_ls_LSParser__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class DOMConfiguration;
+ class Document;
+ class Node;
+ namespace ls
+ {
+ class LSInput;
+ class LSParser;
+ class LSParserFilter;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSParser : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::DOMConfiguration * getDomConfig() = 0;
+ virtual ::org::w3c::dom::ls::LSParserFilter * getFilter() = 0;
+ virtual void setFilter(::org::w3c::dom::ls::LSParserFilter *) = 0;
+ virtual jboolean getAsync() = 0;
+ virtual jboolean getBusy() = 0;
+ virtual ::org::w3c::dom::Document * parse(::org::w3c::dom::ls::LSInput *) = 0;
+ virtual ::org::w3c::dom::Document * parseURI(::java::lang::String *) = 0;
+ virtual ::org::w3c::dom::Node * parseWithContext(::org::w3c::dom::ls::LSInput *, ::org::w3c::dom::Node *, jshort) = 0;
+ virtual void abort() = 0;
+ static const jshort ACTION_APPEND_AS_CHILDREN = 1;
+ static const jshort ACTION_REPLACE_CHILDREN = 2;
+ static const jshort ACTION_INSERT_BEFORE = 3;
+ static const jshort ACTION_INSERT_AFTER = 4;
+ static const jshort ACTION_REPLACE = 5;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSParser__
diff --git a/libjava/org/w3c/dom/ls/LSParserFilter.h b/libjava/org/w3c/dom/ls/LSParserFilter.h
new file mode 100644
index 000000000..8a72aaa5d
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSParserFilter.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSParserFilter__
+#define __org_w3c_dom_ls_LSParserFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Element;
+ class Node;
+ namespace ls
+ {
+ class LSParserFilter;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSParserFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jshort startElement(::org::w3c::dom::Element *) = 0;
+ virtual jshort acceptNode(::org::w3c::dom::Node *) = 0;
+ virtual jint getWhatToShow() = 0;
+ static const jshort FILTER_ACCEPT = 1;
+ static const jshort FILTER_REJECT = 2;
+ static const jshort FILTER_SKIP = 3;
+ static const jshort FILTER_INTERRUPT = 4;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSParserFilter__
diff --git a/libjava/org/w3c/dom/ls/LSProgressEvent.h b/libjava/org/w3c/dom/ls/LSProgressEvent.h
new file mode 100644
index 000000000..237620507
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSProgressEvent.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSProgressEvent__
+#define __org_w3c_dom_ls_LSProgressEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace events
+ {
+ class EventTarget;
+ }
+ namespace ls
+ {
+ class LSInput;
+ class LSProgressEvent;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSProgressEvent : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::ls::LSInput * getInput() = 0;
+ virtual jint getPosition() = 0;
+ virtual jint getTotalSize() = 0;
+ virtual ::java::lang::String * getType() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getTarget() = 0;
+ virtual ::org::w3c::dom::events::EventTarget * getCurrentTarget() = 0;
+ virtual jshort getEventPhase() = 0;
+ virtual jboolean getBubbles() = 0;
+ virtual jboolean getCancelable() = 0;
+ virtual jlong getTimeStamp() = 0;
+ virtual void stopPropagation() = 0;
+ virtual void preventDefault() = 0;
+ virtual void initEvent(::java::lang::String *, jboolean, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSProgressEvent__
diff --git a/libjava/org/w3c/dom/ls/LSResourceResolver.h b/libjava/org/w3c/dom/ls/LSResourceResolver.h
new file mode 100644
index 000000000..3a983ebea
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSResourceResolver.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSResourceResolver__
+#define __org_w3c_dom_ls_LSResourceResolver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ namespace ls
+ {
+ class LSInput;
+ class LSResourceResolver;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSResourceResolver : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::ls::LSInput * resolveResource(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSResourceResolver__
diff --git a/libjava/org/w3c/dom/ls/LSSerializer.h b/libjava/org/w3c/dom/ls/LSSerializer.h
new file mode 100644
index 000000000..11ead65b9
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSSerializer.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSSerializer__
+#define __org_w3c_dom_ls_LSSerializer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class DOMConfiguration;
+ class Node;
+ namespace ls
+ {
+ class LSOutput;
+ class LSSerializer;
+ class LSSerializerFilter;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSSerializer : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::DOMConfiguration * getDomConfig() = 0;
+ virtual ::java::lang::String * getNewLine() = 0;
+ virtual void setNewLine(::java::lang::String *) = 0;
+ virtual ::org::w3c::dom::ls::LSSerializerFilter * getFilter() = 0;
+ virtual void setFilter(::org::w3c::dom::ls::LSSerializerFilter *) = 0;
+ virtual jboolean write(::org::w3c::dom::Node *, ::org::w3c::dom::ls::LSOutput *) = 0;
+ virtual jboolean writeToURI(::org::w3c::dom::Node *, ::java::lang::String *) = 0;
+ virtual ::java::lang::String * writeToString(::org::w3c::dom::Node *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSSerializer__
diff --git a/libjava/org/w3c/dom/ls/LSSerializerFilter.h b/libjava/org/w3c/dom/ls/LSSerializerFilter.h
new file mode 100644
index 000000000..d56e7d4f9
--- /dev/null
+++ b/libjava/org/w3c/dom/ls/LSSerializerFilter.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_ls_LSSerializerFilter__
+#define __org_w3c_dom_ls_LSSerializerFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace ls
+ {
+ class LSSerializerFilter;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::ls::LSSerializerFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jint getWhatToShow() = 0;
+ virtual jshort acceptNode(::org::w3c::dom::Node *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_ls_LSSerializerFilter__