summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/util/DomParser.h
blob: f64b729b5b3b4a3faf01816b1d00b4e0ee1d7308 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_util_DomParser__
#define __gnu_xml_util_DomParser__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace util
      {
          class DomParser;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class Node;
      }
    }
    namespace xml
    {
      namespace sax
      {
          class ContentHandler;
          class DTDHandler;
          class EntityResolver;
          class ErrorHandler;
          class InputSource;
        namespace ext
        {
            class DeclHandler;
            class DefaultHandler2;
            class LexicalHandler;
        }
        namespace helpers
        {
            class NamespaceSupport;
        }
      }
    }
  }
}

class gnu::xml::util::DomParser : public ::java::lang::Object
{

public:
  DomParser();
  DomParser(::org::w3c::dom::Node *);
  ::org::xml::sax::EntityResolver * getEntityResolver();
  void setEntityResolver(::org::xml::sax::EntityResolver *);
  void setLocale(::java::util::Locale *);
  ::org::xml::sax::ErrorHandler * getErrorHandler();
  void setErrorHandler(::org::xml::sax::ErrorHandler *);
  ::org::xml::sax::ContentHandler * getContentHandler();
  void setContentHandler(::org::xml::sax::ContentHandler *);
  ::org::xml::sax::DTDHandler * getDTDHandler();
  void setDTDHandler(::org::xml::sax::DTDHandler *);
  void parse(::java::lang::String *);
  void parse(::org::xml::sax::InputSource *);
private:
  void parse();
  jboolean getIsL2(::org::w3c::dom::Node *);
public:
  jboolean getFeature(::java::lang::String *);
  ::java::lang::Object * getProperty(::java::lang::String *);
  void setFeature(::java::lang::String *, jboolean);
  void setProperty(::java::lang::String *, ::java::lang::Object *);
private:
  void setStart(::org::w3c::dom::Node *);
  void walk();
  void callEnd(::org::w3c::dom::Node *);
  ::org::xml::sax::ext::DefaultHandler2 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultHandler;
  ::org::xml::sax::ContentHandler * contentHandler;
  ::org::xml::sax::DTDHandler * dtdHandler;
  ::org::xml::sax::ext::DeclHandler * declHandler;
  ::org::xml::sax::ext::LexicalHandler * lexicalHandler;
  ::org::xml::sax::ErrorHandler * errHandler;
  ::org::xml::sax::EntityResolver * resolver;
  ::java::util::Locale * locale;
  ::org::w3c::dom::Node * start;
  ::org::w3c::dom::Node * current;
  jboolean isL2;
  jboolean showNamespaces;
  jboolean showXML1_0;
  ::org::xml::sax::helpers::NamespaceSupport * prefixStack;
  jboolean isDocument;
  static ::java::lang::String * FEATURES;
  static ::java::lang::String * HANDLERS;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_util_DomParser__