summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/ls/SAXEventSink.h
blob: fc726b78800a401fcc6f3bd3b1a6f37595651e84 (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
122
123
124
125
126
127
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_dom_ls_SAXEventSink__
#define __gnu_xml_dom_ls_SAXEventSink__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace dom
      {
          class DomDocument;
        namespace ls
        {
            class SAXEventSink;
        }
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class Attr;
          class Document;
          class Element;
          class Node;
          class Text;
      }
    }
    namespace xml
    {
      namespace sax
      {
          class Attributes;
          class Locator;
          class XMLReader;
      }
    }
  }
}

class gnu::xml::dom::ls::SAXEventSink : public ::java::lang::Object
{

public:
  SAXEventSink();
public: // actually package-private
  virtual void interrupt();
public:
  virtual ::org::w3c::dom::Document * getDocument();
  virtual void setReader(::org::xml::sax::XMLReader *);
  virtual void setDocumentLocator(::org::xml::sax::Locator *);
  virtual void setNamespaceAware(jboolean);
  virtual void startDocument();
  virtual void endDocument();
  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 *);
public: // actually protected
  virtual ::org::w3c::dom::Element * createElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
  virtual ::org::w3c::dom::Attr * createAttr(::org::xml::sax::Attributes *, jint);
public:
  virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual void characters(JArray< jchar > *, jint, jint);
public: // actually protected
  virtual ::org::w3c::dom::Text * createText(JArray< jchar > *, jint, jint);
public:
  virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
  virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
public: // actually protected
  virtual ::org::w3c::dom::Node * createProcessingInstruction(::java::lang::String *, ::java::lang::String *);
public:
  virtual void skippedEntity(::java::lang::String *);
  virtual void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
public: // actually protected
  virtual ::org::w3c::dom::Node * createDocumentType(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
public:
  virtual void endDTD();
  virtual void startEntity(::java::lang::String *);
  virtual void endEntity(::java::lang::String *);
  virtual void startCDATA();
  virtual void endCDATA();
  virtual void comment(JArray< jchar > *, jint, jint);
public: // actually protected
  virtual ::org::w3c::dom::Node * createComment(JArray< jchar > *, jint, jint);
public:
  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:
  static ::java::lang::String * XMLNS_URI;
  static ::java::lang::String * XMLNS_PREFIX;
  static ::java::util::HashSet * PREDEFINED_ENTITIES;
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) namespaceAware;
public: // actually package-private
  jboolean ignoreWhitespace;
  jboolean expandEntityReferences;
  jboolean ignoreComments;
  jboolean coalescing;
  ::org::xml::sax::XMLReader * reader;
  ::gnu::xml::dom::DomDocument * doc;
  ::org::w3c::dom::Node * ctx;
  ::java::util::LinkedList * entityCtx;
  ::java::util::List * pending;
  ::org::xml::sax::Locator * locator;
  jboolean inCDATA;
  jboolean inDTD;
  jboolean interrupted;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_dom_ls_SAXEventSink__