diff options
Diffstat (limited to 'libjava/org/w3c/dom/ranges')
-rw-r--r-- | libjava/org/w3c/dom/ranges/DocumentRange.h | 36 | ||||
-rw-r--r-- | libjava/org/w3c/dom/ranges/Range.h | 64 | ||||
-rw-r--r-- | libjava/org/w3c/dom/ranges/RangeException.h | 38 |
3 files changed, 138 insertions, 0 deletions
diff --git a/libjava/org/w3c/dom/ranges/DocumentRange.h b/libjava/org/w3c/dom/ranges/DocumentRange.h new file mode 100644 index 000000000..e7a0cbe6a --- /dev/null +++ b/libjava/org/w3c/dom/ranges/DocumentRange.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_w3c_dom_ranges_DocumentRange__ +#define __org_w3c_dom_ranges_DocumentRange__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace w3c + { + namespace dom + { + namespace ranges + { + class DocumentRange; + class Range; + } + } + } + } +} + +class org::w3c::dom::ranges::DocumentRange : public ::java::lang::Object +{ + +public: + virtual ::org::w3c::dom::ranges::Range * createRange() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __org_w3c_dom_ranges_DocumentRange__ diff --git a/libjava/org/w3c/dom/ranges/Range.h b/libjava/org/w3c/dom/ranges/Range.h new file mode 100644 index 000000000..743989a06 --- /dev/null +++ b/libjava/org/w3c/dom/ranges/Range.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_w3c_dom_ranges_Range__ +#define __org_w3c_dom_ranges_Range__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace w3c + { + namespace dom + { + class DocumentFragment; + class Node; + namespace ranges + { + class Range; + } + } + } + } +} + +class org::w3c::dom::ranges::Range : public ::java::lang::Object +{ + +public: + virtual ::org::w3c::dom::Node * getStartContainer() = 0; + virtual jint getStartOffset() = 0; + virtual ::org::w3c::dom::Node * getEndContainer() = 0; + virtual jint getEndOffset() = 0; + virtual jboolean getCollapsed() = 0; + virtual ::org::w3c::dom::Node * getCommonAncestorContainer() = 0; + virtual void setStart(::org::w3c::dom::Node *, jint) = 0; + virtual void setEnd(::org::w3c::dom::Node *, jint) = 0; + virtual void setStartBefore(::org::w3c::dom::Node *) = 0; + virtual void setStartAfter(::org::w3c::dom::Node *) = 0; + virtual void setEndBefore(::org::w3c::dom::Node *) = 0; + virtual void setEndAfter(::org::w3c::dom::Node *) = 0; + virtual void collapse(jboolean) = 0; + virtual void selectNode(::org::w3c::dom::Node *) = 0; + virtual void selectNodeContents(::org::w3c::dom::Node *) = 0; + virtual jshort compareBoundaryPoints(jshort, ::org::w3c::dom::ranges::Range *) = 0; + virtual void deleteContents() = 0; + virtual ::org::w3c::dom::DocumentFragment * extractContents() = 0; + virtual ::org::w3c::dom::DocumentFragment * cloneContents() = 0; + virtual void insertNode(::org::w3c::dom::Node *) = 0; + virtual void surroundContents(::org::w3c::dom::Node *) = 0; + virtual ::org::w3c::dom::ranges::Range * cloneRange() = 0; + virtual ::java::lang::String * toString() = 0; + virtual void detach() = 0; + static const jshort START_TO_START = 0; + static const jshort START_TO_END = 1; + static const jshort END_TO_END = 2; + static const jshort END_TO_START = 3; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __org_w3c_dom_ranges_Range__ diff --git a/libjava/org/w3c/dom/ranges/RangeException.h b/libjava/org/w3c/dom/ranges/RangeException.h new file mode 100644 index 000000000..50efa0f78 --- /dev/null +++ b/libjava/org/w3c/dom/ranges/RangeException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_w3c_dom_ranges_RangeException__ +#define __org_w3c_dom_ranges_RangeException__ + +#pragma interface + +#include <java/lang/RuntimeException.h> +extern "Java" +{ + namespace org + { + namespace w3c + { + namespace dom + { + namespace ranges + { + class RangeException; + } + } + } + } +} + +class org::w3c::dom::ranges::RangeException : public ::java::lang::RuntimeException +{ + +public: + RangeException(jshort, ::java::lang::String *); + jshort __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) code; + static const jshort BAD_BOUNDARYPOINTS_ERR = 1; + static const jshort INVALID_NODE_TYPE_ERR = 2; + static ::java::lang::Class class$; +}; + +#endif // __org_w3c_dom_ranges_RangeException__ |