summaryrefslogtreecommitdiff
path: root/libjava/org/w3c/dom/traversal
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/org/w3c/dom/traversal')
-rw-r--r--libjava/org/w3c/dom/traversal/DocumentTraversal.h40
-rw-r--r--libjava/org/w3c/dom/traversal/NodeFilter.h52
-rw-r--r--libjava/org/w3c/dom/traversal/NodeIterator.h43
-rw-r--r--libjava/org/w3c/dom/traversal/TreeWalker.h49
4 files changed, 184 insertions, 0 deletions
diff --git a/libjava/org/w3c/dom/traversal/DocumentTraversal.h b/libjava/org/w3c/dom/traversal/DocumentTraversal.h
new file mode 100644
index 000000000..d4c53b38c
--- /dev/null
+++ b/libjava/org/w3c/dom/traversal/DocumentTraversal.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_traversal_DocumentTraversal__
+#define __org_w3c_dom_traversal_DocumentTraversal__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace traversal
+ {
+ class DocumentTraversal;
+ class NodeFilter;
+ class NodeIterator;
+ class TreeWalker;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::traversal::DocumentTraversal : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::traversal::NodeIterator * createNodeIterator(::org::w3c::dom::Node *, jint, ::org::w3c::dom::traversal::NodeFilter *, jboolean) = 0;
+ virtual ::org::w3c::dom::traversal::TreeWalker * createTreeWalker(::org::w3c::dom::Node *, jint, ::org::w3c::dom::traversal::NodeFilter *, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_traversal_DocumentTraversal__
diff --git a/libjava/org/w3c/dom/traversal/NodeFilter.h b/libjava/org/w3c/dom/traversal/NodeFilter.h
new file mode 100644
index 000000000..949c567d9
--- /dev/null
+++ b/libjava/org/w3c/dom/traversal/NodeFilter.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_traversal_NodeFilter__
+#define __org_w3c_dom_traversal_NodeFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace traversal
+ {
+ class NodeFilter;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::traversal::NodeFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jshort acceptNode(::org::w3c::dom::Node *) = 0;
+ static const jshort FILTER_ACCEPT = 1;
+ static const jshort FILTER_REJECT = 2;
+ static const jshort FILTER_SKIP = 3;
+ static const jint SHOW_ALL = -1;
+ static const jint SHOW_ELEMENT = 1;
+ static const jint SHOW_ATTRIBUTE = 2;
+ static const jint SHOW_TEXT = 4;
+ static const jint SHOW_CDATA_SECTION = 8;
+ static const jint SHOW_ENTITY_REFERENCE = 16;
+ static const jint SHOW_ENTITY = 32;
+ static const jint SHOW_PROCESSING_INSTRUCTION = 64;
+ static const jint SHOW_COMMENT = 128;
+ static const jint SHOW_DOCUMENT = 256;
+ static const jint SHOW_DOCUMENT_TYPE = 512;
+ static const jint SHOW_DOCUMENT_FRAGMENT = 1024;
+ static const jint SHOW_NOTATION = 2048;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_traversal_NodeFilter__
diff --git a/libjava/org/w3c/dom/traversal/NodeIterator.h b/libjava/org/w3c/dom/traversal/NodeIterator.h
new file mode 100644
index 000000000..b5410dfd5
--- /dev/null
+++ b/libjava/org/w3c/dom/traversal/NodeIterator.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_traversal_NodeIterator__
+#define __org_w3c_dom_traversal_NodeIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace traversal
+ {
+ class NodeFilter;
+ class NodeIterator;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::traversal::NodeIterator : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::Node * getRoot() = 0;
+ virtual jint getWhatToShow() = 0;
+ virtual ::org::w3c::dom::traversal::NodeFilter * getFilter() = 0;
+ virtual jboolean getExpandEntityReferences() = 0;
+ virtual ::org::w3c::dom::Node * nextNode() = 0;
+ virtual ::org::w3c::dom::Node * previousNode() = 0;
+ virtual void detach() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_traversal_NodeIterator__
diff --git a/libjava/org/w3c/dom/traversal/TreeWalker.h b/libjava/org/w3c/dom/traversal/TreeWalker.h
new file mode 100644
index 000000000..77a7eeba1
--- /dev/null
+++ b/libjava/org/w3c/dom/traversal/TreeWalker.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __org_w3c_dom_traversal_TreeWalker__
+#define __org_w3c_dom_traversal_TreeWalker__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace org
+ {
+ namespace w3c
+ {
+ namespace dom
+ {
+ class Node;
+ namespace traversal
+ {
+ class NodeFilter;
+ class TreeWalker;
+ }
+ }
+ }
+ }
+}
+
+class org::w3c::dom::traversal::TreeWalker : public ::java::lang::Object
+{
+
+public:
+ virtual ::org::w3c::dom::Node * getRoot() = 0;
+ virtual jint getWhatToShow() = 0;
+ virtual ::org::w3c::dom::traversal::NodeFilter * getFilter() = 0;
+ virtual jboolean getExpandEntityReferences() = 0;
+ virtual ::org::w3c::dom::Node * getCurrentNode() = 0;
+ virtual void setCurrentNode(::org::w3c::dom::Node *) = 0;
+ virtual ::org::w3c::dom::Node * parentNode() = 0;
+ virtual ::org::w3c::dom::Node * firstChild() = 0;
+ virtual ::org::w3c::dom::Node * lastChild() = 0;
+ virtual ::org::w3c::dom::Node * previousSibling() = 0;
+ virtual ::org::w3c::dom::Node * nextSibling() = 0;
+ virtual ::org::w3c::dom::Node * previousNode() = 0;
+ virtual ::org::w3c::dom::Node * nextNode() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __org_w3c_dom_traversal_TreeWalker__