summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/pipeline/DomConsumer$Handler.h
blob: 4ba4fc608975a827f1a4a5d9ea9e1f03f19f68b3 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_pipeline_DomConsumer$Handler__
#define __gnu_xml_pipeline_DomConsumer$Handler__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace pipeline
      {
          class DomConsumer;
          class DomConsumer$Handler;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class DOMImplementation;
          class Document;
          class Element;
          class Node;
          class Text;
      }
    }
    namespace xml
    {
      namespace sax
      {
          class Attributes;
          class Locator;
        namespace helpers
        {
            class AttributesImpl;
        }
      }
    }
  }
}

class gnu::xml::pipeline::DomConsumer$Handler : public ::java::lang::Object
{

public: // actually protected
  DomConsumer$Handler(::gnu::xml::pipeline::DomConsumer *);
private:
  void fatal(::java::lang::String *, ::java::lang::Exception *);
public: // actually package-private
  virtual ::org::w3c::dom::Document * clearDocument();
public: // actually protected
  virtual ::org::w3c::dom::Document * getDocument();
  virtual ::org::w3c::dom::Node * getTop();
public:
  virtual void setDocumentLocator(::org::xml::sax::Locator *);
  virtual void startDocument();
  virtual void endDocument();
  virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
public: // actually protected
  virtual ::org::w3c::dom::Text * createText(jboolean, JArray< jchar > *, jint, jint);
public:
  virtual void characters(JArray< jchar > *, jint, jint);
  virtual void skippedEntity(::java::lang::String *);
  virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
  virtual void endPrefixMapping(::java::lang::String *);
  virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
private:
  void populateAttributes(::org::w3c::dom::Element *, ::org::xml::sax::Attributes *);
  ::java::lang::String * getPrefix(::java::lang::String *);
  ::java::lang::String * getNamespace(::java::lang::String *, ::org::xml::sax::Attributes *);
public:
  virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
  virtual void startCDATA();
  virtual void endCDATA();
  virtual void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void endDTD();
  virtual void comment(JArray< jchar > *, jint, jint);
  virtual jboolean canPopulateEntityRefs();
  virtual void startEntity(::java::lang::String *);
  virtual void endEntity(::java::lang::String *);
  virtual void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void elementDecl(::java::lang::String *, ::java::lang::String *);
  virtual void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
  virtual void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
private:
  void namespaceError(::java::lang::String *);
public: // actually protected
  ::gnu::xml::pipeline::DomConsumer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumer;
private:
  ::org::w3c::dom::DOMImplementation * impl;
  ::org::w3c::dom::Document * document;
  jboolean isL2;
  ::org::xml::sax::Locator * locator;
  ::org::w3c::dom::Node * top;
  jboolean inCDATA;
  jboolean mergeCDATA;
  jboolean inDTD;
  ::java::lang::String * currentEntity;
  jboolean recreatedAttrs;
  ::org::xml::sax::helpers::AttributesImpl * attributes;
public: // actually package-private
  static ::java::lang::String * xmlnsURI;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_pipeline_DomConsumer$Handler__