summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/DomIterator.h
blob: 7e1557904047abf6842aff151b93ea860729fc96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_dom_DomIterator__
#define __gnu_xml_dom_DomIterator__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace dom
      {
          class DomIterator;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class Node;
        namespace events
        {
            class Event;
        }
        namespace traversal
        {
            class NodeFilter;
        }
      }
    }
  }
}

class gnu::xml::dom::DomIterator : public ::java::lang::Object
{

public: // actually protected
  DomIterator(::org::w3c::dom::Node *, jint, ::org::w3c::dom::traversal::NodeFilter *, jboolean);
public:
  void detach();
  jboolean getExpandEntityReferences();
  ::org::w3c::dom::traversal::NodeFilter * getFilter();
  ::org::w3c::dom::Node * getRoot();
  jint getWhatToShow();
  ::org::w3c::dom::Node * nextNode();
  ::org::w3c::dom::Node * previousNode();
private:
  jboolean shouldShow(::org::w3c::dom::Node *);
  ::org::w3c::dom::Node * walk(jboolean);
  jboolean isLeaf(::org::w3c::dom::Node *);
  ::org::w3c::dom::Node * successor(::org::w3c::dom::Node *, jboolean);
public:
  void handleEvent(::org::w3c::dom::events::Event *);
private:
  ::org::w3c::dom::Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) reference;
  jboolean right;
  jboolean done;
  ::org::w3c::dom::Node * root;
  jint whatToShow;
  ::org::w3c::dom::traversal::NodeFilter * filter;
  jboolean expandEntityReferences;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_dom_DomIterator__